main
public static void main(String[] args)
Starts a monitor that can stop a KickStartRunner. The monitor opens a socket that listens on the specified
port of localhost for the specified stop key. When it receives this stop key, followed by a CRLF, followed by
the command "stop" and another CRLF, it will call KickStartRunner#stop() on the the specified runner.
- Parameters:
stopPort - the port to listen onstopKey - the string to listen forkickStart - the KickStartRunner to stoplog - the Maven plugin logger to direct output to
- Throws:
IOException - if an I/O error occurs while opening the server socket