Class AbstractExtendedResponse

    • Field Detail

      • responseName

        protected String responseName
        Object identifier for the extended response
    • Constructor Detail

      • AbstractExtendedResponse

        public AbstractExtendedResponse​(String responseName)
        Creates an ExtendedResponse as a reply to an ExtendedRequest.
        Parameters:
        responseName - the ExtendedResponse's name
      • AbstractExtendedResponse

        public AbstractExtendedResponse​(int id,
                                        String responseName)
        Creates an ExtendedResponse as a reply to an ExtendedRequest.
        Parameters:
        id - the session unique message id
        responseName - the ExtendedResponse's name
      • AbstractExtendedResponse

        public AbstractExtendedResponse​(int id)
        Creates an ExtendedResponse as a reply to an ExtendedRequest.
        Parameters:
        id - the session unique message id
    • Method Detail

      • getResponseName

        public String getResponseName()
        Gets the OID uniquely identifying this extended response (a.k.a. its name).
        Specified by:
        getResponseName in interface ExtendedResponse
        Returns:
        the responseName of the extended response
      • setResponseName

        public void setResponseName​(String responseName)
        Sets the OID uniquely identifying this extended response (a.k.a. its name).
        Specified by:
        setResponseName in interface ExtendedResponse
        Parameters:
        responseName - the OID of the extended response type.
      • equals

        public boolean equals​(Object obj)
        Checks to see if an object equals this ExtendedRequest.
        Overrides:
        equals in class AbstractResultResponse
        Parameters:
        obj - the object to be checked for equality
        Returns:
        true if the obj equals this ExtendedRequest, false otherwise