public class TCSReceiver extends DEReceiver
_directorVersion, _tokens
Constructor and Description |
---|
TCSReceiver()
Construct an empty DEReceiver with no container.
|
TCSReceiver(IOPort container)
Construct an empty DEReceiver with the specified container.
|
Modifier and Type | Method and Description |
---|---|
void |
put(Token token)
Put a token into this receiver and post a trigger event to the director.
|
clear, elementList, get, hasRoom, hasRoom, hasToken, hasToken
getArray, getContainer, getCurrentTime, getModelTime, isKnown, putArray, putArrayToAll, putToAll, reset, setContainer, toString
public TCSReceiver()
public TCSReceiver(IOPort container) throws IllegalActionException
container
- The container.IllegalActionException
- If the container does
not accept this receiver.public void put(Token token) throws IllegalActionException, NoRoomException
put
in interface Receiver
put
in class DEReceiver
token
- The token to be put, or null to put no token.IllegalActionException
- If cannot get the director or if
the current microstep is zero.NoRoomException
- Not thrown in this class.