public class DataMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_MESSAGE_LENGTH |
Constructor and Description |
---|
DataMessage() |
Modifier and Type | Method and Description |
---|---|
void |
addGroup(java.lang.String grp) |
void |
enableSelfDiscard() |
java.nio.ByteBuffer |
getData() |
java.lang.String[] |
getGroups() |
SpreadMessage |
getSpreadMessage() |
boolean |
inGroup(java.lang.String name) |
void |
setData(byte[] b) |
void |
setData(java.nio.ByteBuffer b) |
void |
setGroups(java.lang.String[] grp) |
public static final int MAX_MESSAGE_LENGTH
public java.lang.String[] getGroups()
public void setGroups(java.lang.String[] grp)
public void addGroup(java.lang.String grp)
public boolean inGroup(java.lang.String name)
public void setData(java.nio.ByteBuffer b) throws SerializeException
SerializeException
public void setData(byte[] b) throws SerializeException
SerializeException
public java.nio.ByteBuffer getData()
public void enableSelfDiscard()
public SpreadMessage getSpreadMessage() throws SerializeException
SerializeException