Class AddServerRequest

    • Field Detail

      • serverName

        private String serverName
      • hostName

        private String hostName
      • serverId

        private int serverId
      • domainName

        private String domainName
      • port

        private int port
      • serviceNames

        private String[] serviceNames
      • serviceArgs

        private String[] serviceArgs
    • Constructor Detail

      • AddServerRequest

        public AddServerRequest​(int serverId,
                                String hostName,
                                String domainName,
                                int port,
                                String serverName,
                                String[] serviceNames,
                                String[] serviceArgs)
      • AddServerRequest

        public AddServerRequest()
    • Method Detail

      • getServerName

        public final String getServerName()
      • getHostName

        public final String getHostName()
      • getServerId

        public final int getServerId()
      • getDomainName

        public final String getDomainName()
      • getPort

        public final int getPort()
      • getServiceNames

        public final String[] getServiceNames()
      • getServiceArgs

        public final String[] getServiceArgs()
      • 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.