public interface ChannelMessage extends Serializable, Cloneable
| Modifier and Type | Method and Description | 
|---|---|
| Object | clone()Shallow clone, what gets cloned depends on the implementation | 
| Object | deepclone()Deep clone, all fields MUST get cloned | 
| Member | getAddress()Get the address that this message originated from. | 
| XByteBuffer | getMessage()returns the byte buffer that contains the actual message payload | 
| int | getOptions()The message options is a 32 bit flag set
 that triggers interceptors and message behavior. | 
| long | getTimestamp()Timestamp of when the message was created. | 
| byte[] | getUniqueId()Each message must have a globally unique Id. | 
| void | setAddress(Member member)Sets the source or reply-to address of this message | 
| void | setMessage(XByteBuffer buf)The byte buffer that contains the actual message payload | 
| void | setOptions(int options)sets the option bits for this message | 
| void | setTimestamp(long timestamp)Sets the timestamp of this message | 
Member getAddress()
Channel.getLocalMember(boolean)void setAddress(Member member)
member - Memberlong getTimestamp()
void setTimestamp(long timestamp)
timestamp - The timestampbyte[] getUniqueId()
void setMessage(XByteBuffer buf)
buf - XByteBufferXByteBuffer getMessage()
int getOptions()
Channel.send(Member[], Serializable, int), 
ChannelInterceptor.getOptionFlag()void setOptions(int options)
options - intgetOptions()Object clone()
Object deepclone()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.