class cMsg.KeepAlive
extends java.lang.Thread
| Constructor and Description |
|---|
KeepAlive(java.net.Socket socket)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeChannels(java.net.Socket socket)
If reconnecting to another server as part of a failover, we must change to
another channel for keepAlives.
|
void |
killThread()
Kill this thread.
|
void |
run()
This method is executed as a thread.
|
activeCount, 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, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic KeepAlive(java.net.Socket socket)
throws java.io.IOException
socket - communication socket with domain serverjava.io.IOException - if channel is closedpublic void killThread()
public void changeChannels(java.net.Socket socket)
throws java.io.IOException
socket - communication socket with domain serverjava.io.IOException - if channel is closedpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Thread