ist.palcom.services.tilessimulator.communication
Class Gateway

java.lang.Object
  extended by ist.palcom.services.tilessimulator.communication.Gateway

public class Gateway
extends java.lang.Object

Used to relay traffic to from UDP to a single IR com thread and vice versa


Constructor Summary
Gateway(PalcomScheduler scheduler)
           
 
Method Summary
 void putEvent(Event e)
          Used by IRComThread to deliver outgoing messages
 void setPoolComThread(PoolCommunicationThread p)
          Sets the thread this gateway should forward messages to
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gateway

public Gateway(PalcomScheduler scheduler)
Method Detail

setPoolComThread

public void setPoolComThread(PoolCommunicationThread p)
Sets the thread this gateway should forward messages to

Parameters:
p -

putEvent

public void putEvent(Event e)
Used by IRComThread to deliver outgoing messages

Parameters:
e -

stop

public void stop()