|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--MicroTAPAS.debug.CommunicationCenter
This class takes care of socket communication
| Field Summary | |
private java.net.Socket |
clientSocket
|
private int |
connectionID
|
private java.lang.Object |
owner
|
private int |
PORT
|
private int |
RESPONSE_PORT
|
private java.net.ServerSocket |
server
Sockets used in communication |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
CommunicationCenter()
Empty constructor |
|
| Method Summary | |
void |
destroy()
|
void |
init(java.lang.Object pOwner,
int port,
int responsePort)
Initialization method |
void |
run()
|
void |
socketListen()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, 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 |
| Field Detail |
private java.net.ServerSocket server
private java.net.Socket clientSocket
private int PORT
private int RESPONSE_PORT
private java.lang.Object owner
private int connectionID
| Constructor Detail |
public CommunicationCenter()
throws java.lang.Exception
| Method Detail |
public void init(java.lang.Object pOwner,
int port,
int responsePort)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void destroy()
destroy in class java.lang.Thread
public void socketListen()
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||