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()
Message
get
in interface ContextMessage
get
in interface Message
public String getId()
Identifiable
getId
in interface ContextMessage
getId
in interface Identifiable
public String getMessageSourceID()
getMessageSourceID
in interface ContextMessage
public long getSequenceNumber()
getSequenceNumber
in interface ContextMessage
getSequenceNumber
in interface Numberable
Copyright © 2017 The Apache Software Foundation. All rights reserved.