Package deltix.util.vsocket
Class VSServer
- java.lang.Object
-
- java.lang.Thread
-
- deltix.util.vsocket.VSServer
-
- All Implemented Interfaces:
java.lang.Runnable
public class VSServer extends java.lang.Thread
-
-
Constructor Summary
Constructors Constructor Description VSServer()
VSServer(int port)
VSServer(int port, TLSContext ctx)
VSServer(int port, TransportProperties transportProperties)
VSServer(int port, java.net.InetAddress address, TLSContext sslProperties, TransportProperties transportProperties)
VSServer(java.net.ServerSocket serverSocket, TLSContext ctx, TransportProperties transportProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
deltix.util.concurrent.QuickExecutor
getExecutor()
int
getLocalPort()
int
getSoTimeout()
void
run()
void
setConnectionListener(VSConnectionListener lnr)
void
setSoTimeout(int readTimeout)
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, 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, suspend, toString, yield
-
-
-
-
Constructor Detail
-
VSServer
public VSServer() throws java.io.IOException
- Throws:
java.io.IOException
-
VSServer
public VSServer(int port) throws java.io.IOException
- Throws:
java.io.IOException
-
VSServer
public VSServer(int port, TLSContext ctx) throws java.io.IOException
- Throws:
java.io.IOException
-
VSServer
public VSServer(int port, TransportProperties transportProperties) throws java.io.IOException
- Throws:
java.io.IOException
-
VSServer
public VSServer(int port, java.net.InetAddress address, TLSContext sslProperties, TransportProperties transportProperties) throws java.io.IOException
- Throws:
java.io.IOException
-
VSServer
public VSServer(java.net.ServerSocket serverSocket, TLSContext ctx, TransportProperties transportProperties)
-
-
Method Detail
-
getExecutor
public deltix.util.concurrent.QuickExecutor getExecutor()
-
getLocalPort
public int getLocalPort()
-
setConnectionListener
public void setConnectionListener(VSConnectionListener lnr)
-
getSoTimeout
public int getSoTimeout() throws java.io.IOException
- Throws:
java.io.IOException
-
setSoTimeout
public void setSoTimeout(int readTimeout) throws java.net.SocketException
- Throws:
java.net.SocketException
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
close
public void close()
-
-