|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--org.jabber.jabberbeans.util.KeepAlive
Nested Class Summary | |
class |
KeepAlive.KeepAliveConnectionListener
|
class |
KeepAlive.KeepAlivePacket
KeepAlivePacket is rather simple - instead of being XML, it is just a space. |
class |
KeepAlive.KeepAlivePacketListener
|
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
KeepAlive(ConnectionBean cb,
int timeout)
Creates a new KeepAlive instance. |
Method Summary | |
void |
run()
|
void |
shutdown()
|
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 KeepAlive(ConnectionBean cb, int timeout)
KeepAlive
instance.
cb
- a ConnectionBean
valuetimeout
- timer in milliseconds after last traffic to send
keepalive.Method Detail |
public void shutdown()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |