public class ConnectProxyServerProcessor extends Object implements ServerProcessor
| Constructor and Description |
|---|
ConnectProxyServerProcessor(String host,
int port,
String key)
Construct proxy server processor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
setStartTimeCallback(Runnable callback)
Set a callback when a connection is received e.g., to record the time for a
watchdog.
|
void |
terminate()
Close the socket.
|
public void setStartTimeCallback(Runnable callback)
callback - Runnable object.public void terminate()
terminate in interface ServerProcessorCopyright © 2024. All rights reserved.