Class HandlerServer

java.lang.Object
org.jboss.jca.test.eis.impl.HandlerServer
All Implemented Interfaces:
Runnable

public class HandlerServer extends Object implements Runnable
Author:
Jesper Pedersen
  • Constructor Details

    • HandlerServer

      public HandlerServer(String bindAddress, int bindPort, Class handler) throws IOException
      Constructor
      Parameters:
      bindAddress - The bind address
      bindPort - The bind port
      handler - The handler
      Throws:
      IOException - Thrown if a server socket can not be created
  • Method Details

    • start

      public void start() throws Throwable
      Start
      Throws:
      Throwable - Thrown if an error occurs
    • stop

      public void stop() throws Throwable
      Stop
      Throws:
      Throwable - Thrown if an error occurs
    • run

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