|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--MicroTAPAS.ComCenter
This class implements a communication center for all the communicaiton that takes place between TAPAS nodes.
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
ComCenter(DebugServer pParent,
int pComPort)
Constructor |
|
ComCenter(MicroPNES pParent)
Constructor |
|
| Method Summary | |
void |
destroy()
Method to shut down the server |
void |
run()
Implement the run() method of the Thread interface. |
RequestResult |
send(RequestPars rp)
Main method for outgoing requests |
Item |
status()
Status report of ComCenter in Item hierarchy of information elements. |
| 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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ComCenter(MicroPNES pParent)
pParent - Reference to the local MicroPNES instance
public ComCenter(DebugServer pParent,
int pComPort)
pParent - Reference to the DebugServer instancepComPort - The port number to listen for incomming requests| Method Detail |
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void destroy()
destroy in class java.lang.Threadpublic RequestResult send(RequestPars rp)
rp - The request to be sent to the receiver indicated in the object
public Item status()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||