Methods Summary |
---|
public java.lang.Object | clone()Shallow clone, what gets cloned depends on the implementation
|
public java.lang.Object | deepclone()Deep clone, all fields MUST get cloned
|
public Member | getAddress()Get the address that this message originated from.
Almost always Channel.getLocalMember(boolean)
This would be set to a different address
if the message was being relayed from a host other than the one
that originally sent it.
|
public org.apache.catalina.tribes.io.XByteBuffer | getMessage()returns the byte buffer that contains the actual message payload
|
public int | getOptions()The message options is a 32 bit flag set
that triggers interceptors and message behavior.
|
public long | getTimestamp()Timestamp of when the message was created.
|
public byte[] | getUniqueId()Each message must have a globally unique Id.
interceptors heavily depend on this id for message processing
|
public void | setAddress(Member member)Sets the source or reply-to address of this message
|
public void | setMessage(org.apache.catalina.tribes.io.XByteBuffer buf)The byte buffer that contains the actual message payload
|
public void | setOptions(int options)sets the option bits for this message
|
public void | setTimestamp(long timestamp)Sets the timestamp of this message
|