|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.khubla.pragmatach.plugin.cluster.multicast.MulticastMessage
public class MulticastMessage
Field Summary | |
---|---|
static int |
MESSAGETYPE_GBYE
|
static int |
MESSAGETYPE_HELLO
types of message |
static int |
MESSAGETYPE_SOLICITUPDATE
|
static int |
MESSAGETYPE_UPDATE
|
Constructor Summary | |
---|---|
MulticastMessage()
ctor |
|
MulticastMessage(int messageType,
String messageContent)
ctor |
Method Summary | |
---|---|
static MulticastMessage |
deserialize(byte[] messageBody)
from string |
String |
getMessageContent()
|
int |
getMessageType()
|
static byte[] |
serialize(MulticastMessage multicastMessage)
to String |
void |
setMessageContent(String messageContent)
|
void |
setMessageType(int messageType)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MESSAGETYPE_HELLO
public static final int MESSAGETYPE_GBYE
public static final int MESSAGETYPE_SOLICITUPDATE
public static final int MESSAGETYPE_UPDATE
Constructor Detail |
---|
public MulticastMessage()
public MulticastMessage(int messageType, String messageContent)
Method Detail |
---|
public static MulticastMessage deserialize(byte[] messageBody) throws PragmatachException
PragmatachException
public static byte[] serialize(MulticastMessage multicastMessage) throws PragmatachException
PragmatachException
public String getMessageContent()
public int getMessageType()
public void setMessageContent(String messageContent)
public void setMessageType(int messageType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |