Class TSaslNonblockingServer


  • public class TSaslNonblockingServer
    extends TServer
    TServer with sasl support, using asynchronous execution and nonblocking io.
    • Constructor Detail

      • TSaslNonblockingServer

        public TSaslNonblockingServer​(TSaslNonblockingServer.Args args)
                               throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • serve

        public void serve()
        Description copied from class: TServer
        The run method fires up the server and gets things going.
        Specified by:
        serve in class TServer
      • stop

        public void stop()
        Trigger a graceful shutdown, but it does not block to wait for the shutdown to finish.
        Overrides:
        stop in class TServer
      • shutdown

        public void shutdown()
                      throws java.lang.InterruptedException
        Gracefully shut down the server and block until all threads are stopped.
        Throws:
        java.lang.InterruptedException - if is interrupted while waiting for shutdown.