|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
networking.base.ForkedThread
networking.base.SocketThread
networking.client.ClientThread
public abstract class ClientThread
ClientThread represents a client thread for interaction with servers
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected IConnectInfo |
m_master
Master client |
Fields inherited from class networking.base.SocketThread |
---|
s_timeSleep |
Fields inherited from class networking.base.ForkedThread |
---|
CHILD, m_fork, NONE, PARENT |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ClientThread(IConnectInfo master)
Construct new ClientThread object |
Method Summary | |
---|---|
protected void |
init()
Allocate any required resources |
Methods inherited from class networking.base.SocketThread |
---|
deinit, enque, error, exit, getIn, getOut, processMessage, recv, run1, send, setSocket, setTimeOut, wait |
Methods inherited from class networking.base.ForkedThread |
---|
run |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, 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, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected IConnectInfo m_master
Constructor Detail |
---|
public ClientThread(IConnectInfo master)
master
- IConnectInfo objectMethod Detail |
---|
protected final void init() throws java.lang.Exception
ForkedThread
init
in class SocketThread
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009 Alexey Veremenko. All rights reserved.