|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--controller.Controller.MessageSender
This class is used for Multicasting a message to all users in wireless range. It adds in timing delays based on ratio of max range/distance to simulate bandwidth loss and delay due to wireless signal degradation.
| Field Summary | |
private transport.protocol.MulticastMessage |
msg
The message to send in this thread. |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
Controller.MessageSender(transport.protocol.MulticastMessage msg)
This Costructor preps the Thread for the given message to send. |
|
| Method Summary | |
void |
run()
This method excutes the thread. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, 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 transport.protocol.MulticastMessage msg
| Constructor Detail |
public Controller.MessageSender(transport.protocol.MulticastMessage msg)
msg - The message to send to other users in range.| Method Detail |
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||