Class IntermediateResponseImpl

    • Field Detail

      • responseName

        protected String responseName
        ResponseName for the intermediate response
      • responseValue

        protected byte[] responseValue
        Response Value for the intermediate response
    • Constructor Detail

      • IntermediateResponseImpl

        public IntermediateResponseImpl​(String responseName)
        Creates an IntermediateResponseImpl instance
        Parameters:
        responseName - the IntermediateResponse's name
      • IntermediateResponseImpl

        public IntermediateResponseImpl​(int id,
                                        String responseName)
        Creates an IntermediateResponseImpl instance
        Parameters:
        id - the session unique message id
        responseName - the IntermediateResponse's name
      • IntermediateResponseImpl

        public IntermediateResponseImpl​(int id)
        Creates a new IntermediateResponseImpl instance
        Parameters:
        id - The request ID
    • Method Detail

      • getResponseValue

        public byte[] getResponseValue()
        Gets the reponseName specific encoded
        Specified by:
        getResponseValue in interface IntermediateResponse
        Returns:
        the response value
      • setResponseValue

        public void setResponseValue​(byte[] value)
        Sets the response value
        Specified by:
        setResponseValue in interface IntermediateResponse
        Parameters:
        value - the response value.
      • getResponseName

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

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

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

        public String toString()
        Get a String representation of an IntermediateResponse
        Overrides:
        toString in class AbstractResultResponse
        Returns:
        An IntermediateResponse String