@Singleton
public class SocketServer
extends java.lang.Thread
| Constructor | Description |
|---|---|
SocketServer(ADVConnectionFactory connectionFactory) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
run() |
Accepts socket connections, acknowledges incoming snapshots and routes
the data to the corresponding parser.
|
void |
setHost(java.lang.String host) |
Set alternative host on which SocketServer should listen.
|
void |
setPort(int port) |
Set alternative port on which SocketServer should listen.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield@Inject public SocketServer(ADVConnectionFactory connectionFactory)
public void run()
run in class java.lang.Threadpublic void setPort(int port)
port - the port number to listen onpublic void setHost(java.lang.String host)
host - the host