|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
faa.tg.asdi.ClientConnection
public class ClientConnection
A ClientConnection is constructed by TmfServer for each client socket connect. The ClientConnection opens the input and output steams. TmfServer will call it's writeObject() method. Why does it extend Thread? dw.... Why does it open a buffered reader?See the source: ClientConnection.java
- which normally constructs these| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
protected java.io.ObjectInputStream |
ois
|
protected java.io.ObjectOutputStream |
oos
|
protected java.net.Socket |
socket
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ClientConnection(java.net.Socket socket)
|
|
| Method Summary | |
|---|---|
void |
reset()
|
void |
writeObject(AsdiMessage asdiMessage)
|
void |
writeObject(AsdiOutputMessage asdiOutputMessage)
|
void |
writeObject(java.lang.Object object)
|
| 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, run, 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 |
|---|
public static final java.lang.String CVS_VERSION_ID
protected java.net.Socket socket
protected java.io.ObjectInputStream ois
protected java.io.ObjectOutputStream oos
| Constructor Detail |
|---|
public ClientConnection(java.net.Socket socket)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void reset()
throws java.io.IOException
java.io.IOException
public void writeObject(AsdiOutputMessage asdiOutputMessage)
throws java.io.IOException
java.io.IOException
public void writeObject(AsdiMessage asdiMessage)
throws java.io.IOException
java.io.IOException
public void writeObject(java.lang.Object object)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||