public class SysMLSequentialDirector.SysMLSequentialReceiver extends Mailbox
Constructor and Description |
---|
SysMLSequentialReceiver() |
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 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.