ist.palcom.services.tilessimulator.communication
Class PoolCommunicationThread
java.lang.Object
ist.palcom.palcomthreads.PalcomThread
ist.palcom.palcomthreads.PalcomPriorityThread
ist.palcom.mal.CommunicationThread
ist.palcom.services.tilessimulator.communication.PoolCommunicationThread
public class PoolCommunicationThread
- extends CommunicationThread
A CommmunicationThread that delivers messages based on information about link
connectivity from the Pool.
It also keeps track of connectivity information to be used by
services. @see ConnectivityService
There is no notion of orientation for the moment
|
Field Summary |
static boolean |
DIAG
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIAG
public static boolean DIAG
PoolCommunicationThread
public PoolCommunicationThread(Tile tile,
MediaManager mediaManager,
java.lang.String interfaceID,
PalcomThread distributor)
run
public void run()
- Description copied from class:
PalcomThread
- This method is overridden by subclasses.
- Overrides:
run in class PalcomThread
setGateway
public void setGateway(Gateway gateway)
removeGateway
public void removeGateway()
getURL
public URL getURL()
- Specified by:
getURL in class CommunicationThread
- Returns:
- The URL for sending messages to this thread, a URL this thread
listens at (protocol-specific URL).
putMessageFromMedium
public void putMessageFromMedium(MessageWithURLEvent m)
- Used by Gateway
- Parameters:
m -
setTouchService
public void setTouchService(TouchService service)