- All Superinterfaces:
Comparable<Message>
,Serializable
A message represents an asynchronous event sent across domain boundaries. A
message has a unique identifier to mark which message it is as well as data
items. Messages can be serialized and sent across a network interface.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic @interface
static @interface
-
Method Summary
Modifier and TypeMethodDescriptionstatic Message
fromString
(Object s) Access the parameter datum at the specified index.int
getId()
Get the message number for this message.Get the unique ID of this message instance.getName()
Get the informal name of this message instance.void
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
get
Access the parameter datum at the specified index.- Parameters:
index
- The index at which to access the datum.- Returns:
- The parameter datum.
-
put
-
getParameterData
-
getMessageHandle
UniqueId getMessageHandle()Get the unique ID of this message instance.- Returns:
- the message's unique ID.
-
getName
String getName()Get the informal name of this message instance.- Returns:
- The name of the message.
-
getId
int getId()Get the message number for this message. This number uniquely identifies an abstract message in an interface. -
fromString
-