public class ATCReceiver extends DEReceiver
_directorVersion, _tokens
Constructor and Description |
---|
ATCReceiver()
Create a new receiver.
|
ATCReceiver(IOPort container)
Create a new receiver in the specified container with the specified
name.
|
Modifier and Type | Method and Description |
---|---|
void |
put(Token token)
Put the token.
|
clear, elementList, get, hasRoom, hasRoom, hasToken, hasToken
getArray, getContainer, getCurrentTime, getModelTime, isKnown, putArray, putArrayToAll, putToAll, reset, setContainer, toString
public ATCReceiver()
public ATCReceiver(IOPort container) throws IllegalActionException
container
- The container.IllegalActionException
- If this actor cannot be contained
by the proposed container (see the setContainer() method).public void put(Token token) throws IllegalActionException, NoRoomException
put
in interface Receiver
put
in class DEReceiver
token
- The tokenIllegalActionException
- If the token cannot be putNoRoomException
- If there is no room.