Class GetAdminTopicReply

    • Field Detail

      • serialVersionUID

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

        private String id
        Identifier of the admin topic.
    • Constructor Detail

      • GetAdminTopicReply

        public GetAdminTopicReply​(GetAdminTopicRequest request,
                                  String id)
        Constructs a GetAdminTopicReply instance.
        Parameters:
        request - The GetAdminTopicRequest being answered.
        id - The identifier of the admin topic.
      • GetAdminTopicReply

        public GetAdminTopicReply()
        Constructs a GetAdminTopicReply instance.
    • Method Detail

      • setId

        public void setId​(String id)
        Sets the identifier of the admin topic.
        Parameters:
        id - Identifier of AdminTopic.
      • getId

        public String getId()
        Returns the identifier of the admin topic.
        Returns:
        Identifier of AdminTopic.
      • 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.