Class GetSubscriptionsRep

    • Field Detail

      • subNames

        private String[] subNames
      • topicIds

        private String[] topicIds
      • messageCounts

        private int[] messageCounts
      • ackCounts

        private int[] ackCounts
      • durable

        private boolean[] durable
    • Constructor Detail

      • GetSubscriptionsRep

        public GetSubscriptionsRep​(String[] subNames,
                                   String[] topicIds,
                                   int[] messageCounts,
                                   int[] ackCounts,
                                   boolean[] durable)
      • GetSubscriptionsRep

        public GetSubscriptionsRep()
    • Method Detail

      • getSubNames

        public final String[] getSubNames()
      • getTopicIds

        public final String[] getTopicIds()
      • getMessageCounts

        public final int[] getMessageCounts()
      • getDeliveredMessageCount

        public final int[] getDeliveredMessageCount()
      • getDurable

        public final boolean[] getDurable()
      • readFrom

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

        public void writeTo​(OutputStream os)
                     throws IOException
        Description copied from interface: Streamable
        The object implements the writeTo method to write its contents to the output stream.
        Specified by:
        writeTo in interface Streamable
        Overrides:
        writeTo in class AdminReply
        Parameters:
        os - the stream to write the object to
        Throws:
        IOException - an error occurs during IO operation.