Package org.serviceconnector.srv
Class TestSessionServer
java.lang.Object
java.lang.Thread
org.serviceconnector.srv.TestStatefulServer
org.serviceconnector.srv.TestSessionServer
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.serviceconnector.srv.TestStatefulServer
TestStatefulServer.KillThread<T extends org.serviceconnector.api.srv.SCSessionServer>Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class org.serviceconnector.srv.TestStatefulServer
connectionType, ctr, fs, listenerPort, LOGGER, maxConnections, maxSessions, nicsStrings, port, serverName, serviceNamesFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.serviceconnector.srv.TestStatefulServer
addExitHandler, getConnectionType, setConnectionType, setListenerPort, setMaxConnections, setMaxSessions, setNics, setPort, setServerName, setServiceNamesMethods 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 Details
-
TestSessionServer
public TestSessionServer()
-
-
Method Details
-
main
Main method if you like to start in debug mode.- Parameters:
args- [0] serverName
[1] listenerPort
[2] SC port
[3] maxSessions
[4] maxConnections
[5] connectionType ("netty.tcp" or "netty.http")
[6] serviceNames (comma delimited list)
[7] nics (comma separated list)- Throws:
Exception
-
run
public void run()
-