public class ProcessLauncherServer extends Server<ProcessLauncherServer.Protocol,ProcessLauncherServer.ServerObserver>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ProcessLauncherServer.Protocol
Implement this to define the behavior of the communication on the server side.
|
static interface |
ProcessLauncherServer.ServerObserver |
observerLord, protocol| Constructor and Description |
|---|
ProcessLauncherServer(ProcessLauncherServer.Protocol protocol) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
communicationsStarted()
this exists solely so it can be overridden.
|
void |
killProcess()
Call this to violently kill the external process.
|
void |
setExternalProcess(ExecHandle externalProcess) |
void |
stop() |
addServerObserver, getPort, isServerRunning, removeServerObserver, requestShutdown, sendMessage, sendMessage, startpublic ProcessLauncherServer(ProcessLauncherServer.Protocol protocol)
protected void communicationsStarted()
ServercommunicationsStarted in class Server<ProcessLauncherServer.Protocol,ProcessLauncherServer.ServerObserver>public void stop()
stop in class Server<ProcessLauncherServer.Protocol,ProcessLauncherServer.ServerObserver>public void setExternalProcess(ExecHandle externalProcess)
public void killProcess()
Copyright © 2013. All rights reserved