Class DocumentReply

    • Constructor Detail

      • DocumentReply

        public DocumentReply​(int type)
        Constructs a new reply of given type.
        Parameters:
        type - The type code to assign to this.
    • Method Detail

      • getPriority

        public DocumentProtocol.Priority getPriority()
        Returns the priority tag for this message.
        Returns:
        The priority.
      • setPriority

        public void setPriority​(DocumentProtocol.Priority priority)
        Sets the priority tag for this message.
        Parameters:
        priority - The priority to set.
      • getProtocol

        public com.yahoo.text.Utf8String getProtocol()
        Specified by:
        getProtocol in class com.yahoo.messagebus.Routable
      • getType

        public final int getType()
        Specified by:
        getType in class com.yahoo.messagebus.Routable