|
|||||||||
| 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
networking.client.ClientTalkThread
class ClientTalkThread
ClientTalkThread - this class represents a thread interacting with TalkServer
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected ITalkClient |
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 | |
|---|---|
ClientTalkThread(ITalkClient master)
Construct new ClientTalkThread object |
|
| Method Summary | |
|---|---|
protected void |
error(java.lang.Exception e)
Report error |
protected void |
processMessage(Message msg)
Process a message |
void |
run()
|
| Methods inherited from class networking.client.ClientThread |
|---|
init |
| Methods inherited from class networking.base.SocketThread |
|---|
deinit, enque, exit, getIn, getOut, recv, run1, send, setSocket, setTimeOut, wait |
| 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 ITalkClient m_master
| Constructor Detail |
|---|
public ClientTalkThread(ITalkClient master)
master - ITalkClient object| Method Detail |
|---|
protected void processMessage(Message msg)
throws java.lang.Exception
SocketThread
processMessage in class SocketThreadmsg - message
java.lang.Exceptionpublic void run()
run in interface java.lang.Runnablerun in class ForkedThreadprotected void error(java.lang.Exception e)
SocketThread
error in class SocketThreade - exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009 Alexey Veremenko. All rights reserved.