public class SysMLADirector.SysMLAReceiver extends Mailbox
Constructor and Description |
---|
SysMLAReceiver()
Construct a SysMLAReceiver.
|
SysMLAReceiver(IOPort container)
Construct a SysMLAReceiver.
|
Modifier and Type | Method and Description |
---|---|
Token |
get()
Get the contained Token.
|
void |
put(Token token)
Put a token into the queue for containing actor.
|
void |
reallyPut(Token token)
Put a token into the mailbox.
|
clear, elementList, hasRoom, hasRoom, hasToken, hasToken
getArray, getContainer, getCurrentTime, getModelTime, isKnown, putArray, putArrayToAll, putToAll, reset, setContainer, toString
public SysMLAReceiver() throws IllegalActionException
IllegalActionException
- If thrown by the superclass.public SysMLAReceiver(IOPort container) throws IllegalActionException
container
- The container for this SysMLAReceiver.IllegalActionException
- If thrown by the superclass.public Token get() throws NoTokenException
get
in interface Receiver
get
in class Mailbox
NoTokenException
- If this mailbox is empty.public void put(Token token)
public void reallyPut(Token token) throws NoRoomException
token
- The token to be put into the mailbox.NoRoomException
- If this mailbox is not empty.