public class ConnectTrackerServerProcessor extends Object implements ServerProcessor
| Modifier and Type | Field and Description |
|---|---|
static int |
HARD_TIMEOUT_DEFAULT |
static int |
MAX_SERVER_PORT |
static int |
RETRY_PERIOD |
static int |
STALE_TRACKER_TIMEOUT |
static int |
TRACKER_TIMEOUT |
| Constructor and Description |
|---|
ConnectTrackerServerProcessor(String trackerHost,
int trackerPort,
String key,
RPCWatchdog watchdog)
Construct tracker server processor.
|
public static final int MAX_SERVER_PORT
public static final int TRACKER_TIMEOUT
public static final int RETRY_PERIOD
public static final int STALE_TRACKER_TIMEOUT
public static final int HARD_TIMEOUT_DEFAULT
public ConnectTrackerServerProcessor(String trackerHost, int trackerPort, String key, RPCWatchdog watchdog) throws IOException
trackerHost - Tracker host.trackerPort - Tracker port.key - Device key.watchdog - watch for timeout, etc.IOException - when socket fails to open.public String getMatchKey()
public void terminate()
terminate in interface ServerProcessorCopyright © 2022. All rights reserved.