|
DBAbstract API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--ro.raducora.connection.server.tcp.ServerTCPAdapter
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
ServerTCPAdapter(ServerProps serverProps,
AdapterManager adapterManager,
int PORT,
StreamEncryptionKey inkey,
StreamEncryptionKey outkey)
Intitialize Server Parameters |
|
| Method Summary | |
void |
reload()
Reload properties |
void |
run()
Run the server thread |
void |
startServer()
Start the Server. |
void |
stopServer()
Stop the Server |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ServerTCPAdapter(ServerProps serverProps,
AdapterManager adapterManager,
int PORT,
StreamEncryptionKey inkey,
StreamEncryptionKey outkey)
throws java.io.IOException
PORT - the PORT to bind toinkey - key for decripting the inputoutkey - key for encripting the output
java.io.IOException| Method Detail |
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void stopServer()
stopServer in interface Serverpublic void startServer()
startServer in interface Server
public void reload()
throws java.lang.Exception
reload in interface Serverjava.lang.Exception
|
DBAbstract API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||