Save This Page
Home » maven-launchpad-plugin-2.0.6-source-release » org.apache.sling.maven.projectsupport » [javadoc | source]
org.apache.sling.maven.projectsupport
class: ControlListener [javadoc | source]
java.lang.Object
   org.apache.sling.maven.projectsupport.ControlListener

All Implemented Interfaces:
    Runnable

This class is adapted from org.apache.sling.launchpad.app.ControlListener.
Field Summary
static final  String COMMAND_STOP     
static final  String COMMAND_STATUS     
Constructor:
 ControlListener(AbstractLaunchpadStartingPlugin mojo,
    Log log,
    String host,
    int port) 
Method from org.apache.sling.maven.projectsupport.ControlListener Summary:
listen,   run,   shutdownServer,   statusServer
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.sling.maven.projectsupport.ControlListener Detail:
  void listen() 
    Implements the server side of the control connection starting a thread listening on the host and port configured on setup of this instance.
 public  void run() 
    Implements the server thread receiving commands from clients and acting upon them.
  void shutdownServer() 
    Implements the client side of the control connection sending the command to shutdown Sling.
  void statusServer() 
    Implements the client side of the control connection sending the command to check whether Sling is active.