All Known Subinterfaces:
ExceptionMessage

public interface RpcMessage
An RPC message. It specifies its type and its id. This id can be used to match a reply message with its corresponding request message.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
     
    Yields the id of the message.
    Yields the type of this message.
    int
     
  • Method Details

    • getType

      String getType()
      Yields the type of this message. This is anything that can help identify the type of the message.
      Returns:
      the type
    • getId

      String getId()
      Yields the id of the message.
      Returns:
      the id
    • equals

      boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object