Class StandardServiceStack


  • public class StandardServiceStack
    extends java.lang.Object
    • Constructor Detail

      • StandardServiceStack

        public StandardServiceStack​(java.lang.String name,
                                    int port,
                                    java.lang.String host,
                                    IPAddressPermission[] allowHosts,
                                    java.lang.String[] logOnSuccess,
                                    java.lang.String[] logOnFailure,
                                    java.util.concurrent.Executor executor,
                                    ServerService server)
                             throws java.net.UnknownHostException
        Throws:
        java.net.UnknownHostException
    • Method Detail

      • getName

        public java.lang.String getName()
      • getAddress

        public java.net.InetAddress getAddress()
      • getFullAddress

        public java.net.InetSocketAddress getFullAddress()
      • getHost

        public java.lang.String getHost()
      • getPort

        public int getPort()
      • getSoTimeout

        public int getSoTimeout()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • setSoTimeout

        public void setSoTimeout​(int timeout)
                          throws java.net.SocketException
        Throws:
        java.net.SocketException
      • getLogOnSuccess

        public java.lang.String[] getLogOnSuccess()
      • getLogOnFailure

        public java.lang.String[] getLogOnFailure()
      • doStart

        public void doStart()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doStop

        public void doStop()
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doFail

        public void doFail()