Interface Message

All Superinterfaces:
Comparable<Message>, Serializable

public interface Message extends 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.
  • Method Details

    • get

      Object get(String key)
      Access the parameter datum at the specified index.
      Parameters:
      index - The index at which to access the datum.
      Returns:
      The parameter datum.
    • put

      void put(String key, Object value)
    • getParameterData

      Map<String,Object> 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

      static Message fromString(Object s)