Class Protocol.Message

java.lang.Object
org.apache.avro.JsonProperties
org.apache.avro.Protocol.Message
Enclosing class:
Protocol

public class Protocol.Message extends JsonProperties
A protocol message.
  • Method Details

    • getName

      public String getName()
      The name of this message.
    • getRequest

      public Schema getRequest()
      The parameters of this message.
    • getResponse

      public Schema getResponse()
      The returned data.
    • getErrors

      public Schema getErrors()
      Errors that might be thrown.
    • isOneWay

      public boolean isOneWay()
      Returns true if this is a one-way message, with no response or errors.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getDoc

      public String getDoc()