Class LauncherListener

java.lang.Object
java.lang.Thread
org.jppf.process.LauncherListener
All Implemented Interfaces:
Runnable

public class LauncherListener extends Thread
Instances of this class listen to a socket connection setup in the ProcessLauncher, to handle the situation when the Launcher dies unexpectedly.
In that situation, the connection is broken and this process knows that it must exit.
Author:
Laurent Cohen
  • Constructor Details

    • LauncherListener

      public LauncherListener(int port)
      Initialize this LauncherListener with the specified port.
      Parameters:
      port - the port to listen to.
    • LauncherListener

      public LauncherListener(int port, LauncherListenerProtocolHandler actionHandler)
      Initialize this LauncherListener with the specified port.
      Parameters:
      port - the port to listen to.
      actionHandler - the action handler for this listener.
      Since:
      5.0
  • Method Details