public final class ContextMessageImpl extends Object implements ContextMessage
| Constructor and Description |
|---|
ContextMessageImpl(byte[] theMessage,
String theContextID,
String theMessageSourceId,
long sequenceNumber) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
get()
Message payload.
|
String |
getId()
Returns an identifier of this object.
|
String |
getMessageSourceID() |
long |
getSequenceNumber() |
public ContextMessageImpl(byte[] theMessage, String theContextID, String theMessageSourceId, long sequenceNumber)
public byte[] get()
Messageget in interface ContextMessageget in interface Messagepublic String getId()
IdentifiablegetId in interface ContextMessagegetId in interface Identifiablepublic String getMessageSourceID()
getMessageSourceID in interface ContextMessagepublic long getSequenceNumber()
getSequenceNumber in interface ContextMessagegetSequenceNumber in interface NumberableCopyright © 2017 The Apache Software Foundation. All rights reserved.