|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
org.pilotix.server.ClientHandlerThread
public class ClientHandlerThread
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static int |
DECONNECTED
|
static int |
LOGINING
|
static int |
LOOPING
|
static int |
READY
|
static int |
TOBEKILL
|
static int |
WANTTOLEAVE
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ClientHandlerThread(int theClientId,
MessageHandler aMessageHandler)
|
|
| Method Summary | |
|---|---|
void |
endGame()
|
MessageHandler |
getMessageHandler()
|
ServerShip |
getShip()
|
int |
getStatus()
|
void |
run()
|
void |
sendArea()
|
void |
setStatus(int aStatus)
|
| Methods inherited from class java.lang.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, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int LOGINING
public static final int READY
public static final int LOOPING
public static final int WANTTOLEAVE
public static final int DECONNECTED
public static final int TOBEKILL
| Constructor Detail |
|---|
public ClientHandlerThread(int theClientId,
MessageHandler aMessageHandler)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
public void sendArea()
throws java.lang.Exception
java.lang.Exceptionpublic ServerShip getShip()
public int getStatus()
public void setStatus(int aStatus)
public void endGame()
public MessageHandler getMessageHandler()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Pilotix 2003-2013 - Stilisto : G.C.