Class SessCreateDestReply

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        define serialVersionUID for interoperability
        See Also:
        Constant Field Values
      • agentId

        private String agentId
        The string identifier of the temporary destination agent.
    • Constructor Detail

      • SessCreateDestReply

        public SessCreateDestReply​(AbstractJmsRequest request,
                                   String agentId)
        Constructs a SessCreateTDReply instance.
        Parameters:
        request - The replied request.
        agentId - String identifier of the destination agent.
      • SessCreateDestReply

        public SessCreateDestReply()
        Constructs a SessCreateTDReply instance.
    • Method Detail

      • setAgentId

        public void setAgentId​(String agentId)
        Sets the destination identifier.
        Parameters:
        agentId - The destination identifier.
      • getAgentId

        public String getAgentId()
        Returns the temporary destination's agent identifier.
        Returns:
        The destination identifier.
      • readFrom

        public void readFrom​(InputStream is)
                      throws IOException
        The object implements the readFrom method to restore its contents from the input stream.
        Specified by:
        readFrom in interface Streamable
        Overrides:
        readFrom in class AbstractJmsReply
        Parameters:
        is - the stream to read data from in order to restore the object
        Throws:
        IOException - an error occurs during IO operation.