Class GetServersIdsRequest

    • Field Detail

      • serverId

        private int serverId
        Identifier of the target server.
      • domainName

        private String domainName
    • Constructor Detail

      • GetServersIdsRequest

        public GetServersIdsRequest​(int serverId)
        Constructs a Monitor_GetServersIds instance.
        Parameters:
        serverId - Identifier of the target server.
      • GetServersIdsRequest

        public GetServersIdsRequest()
      • GetServersIdsRequest

        public GetServersIdsRequest​(int serverId,
                                    String domainName)
        Constructs a Monitor_GetServersIds instance.
        Parameters:
        serverId - Identifier of the target server.
        domainName - Name of the domain that contains the servers.
    • Method Detail

      • getServerId

        public final int getServerId()
        Returns the identifier of the target server.
        Returns:
        The identifier of the target server.
      • getDomainName

        public final String getDomainName()
      • 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.