Class Message
- java.lang.Object
-
- io.ciera.runtime.summit.interfaces.Message
-
- All Implemented Interfaces:
IMessage
,Comparable<IMessage>
public abstract class Message extends Object implements IMessage, Comparable<IMessage>
-
-
Field Summary
Fields Modifier and Type Field Description static int
NULL_SIGNAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(IMessage m)
static IMessage
deserialize(Object o)
boolean
equals(Object o)
Object
get(int index)
UniqueId
getMessageHandle()
String
getName()
int
hashCode()
String
serialize()
-
-
-
Field Detail
-
NULL_SIGNAL
public static final int NULL_SIGNAL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Message
public Message()
-
Message
public Message(Object... data)
-
-
Method Detail
-
get
public Object get(int index) throws XtumlException
- Specified by:
get
in interfaceIMessage
- Throws:
XtumlException
-
getMessageHandle
public UniqueId getMessageHandle()
- Specified by:
getMessageHandle
in interfaceIMessage
-
compareTo
public int compareTo(IMessage m)
- Specified by:
compareTo
in interfaceComparable<IMessage>
-
serialize
public String serialize() throws XtumlException
- Specified by:
serialize
in interfaceIMessage
- Throws:
XtumlException
-
deserialize
public static IMessage deserialize(Object o) throws XtumlException
- Throws:
XtumlException
-
-