Class SimpleTCP.Acceptor

java.lang.Object
org.jgroups.protocols.SimpleTCP.Acceptor
All Implemented Interfaces:
Runnable
Enclosing class:
SimpleTCP

protected class SimpleTCP.Acceptor extends Object implements Runnable
Calls ServerSocket.accept() and creates new Connection objects
  • Field Details

    • bind

      protected final InetAddress bind
    • port

      protected final int port
    • runner

      protected Runner runner
  • Constructor Details

  • Method Details

    • start

      protected void start() throws Exception
      Throws:
      Exception
    • stop

      protected void stop()
    • run

      public void run()
      Specified by:
      run in interface Runnable