Class GetStatsRequest

    • Field Detail

      • destId

        private String destId
        Identifier of the destination.
      • attributes

        private String attributes
        The comma separated list of requested JMX attribute names.
    • Constructor Detail

      • GetStatsRequest

        public GetStatsRequest​(String destId)
        Constructs a Monitor_GetStat instance.
        Parameters:
        destId - Identifier of the destination.
      • GetStatsRequest

        public GetStatsRequest​(String destId,
                               String attributes)
        Constructs a Monitor_GetStat instance.
        Parameters:
        destId - Identifier of the destination.
        attributes - A comma separated list of requested JMX attribute names.
      • GetStatsRequest

        public GetStatsRequest()
    • Method Detail

      • getDest

        public String getDest()
        Returns the identifier of the destination.
        Returns:
        The identifier of the destination.
      • getAttributes

        public String getAttributes()
        Returns the comma separated list of requested JMX attribute names.
        Returns:
        The comma separated list of requested JMX attribute names.
      • 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.
        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.
        Parameters:
        os - the stream to write the object to
        Throws:
        IOException - an error occurs during IO operation.