public class SynchronousOutputPort extends OutputPort
Message must be fetched by receiving port during SendMessage() execution.
| Modifier and Type | Field and Description |
|---|---|
protected Message |
message |
next, OUTPUT_PORT_NAME| Constructor and Description |
|---|
SynchronousOutputPort(Entity owner) |
SynchronousOutputPort(Entity owner,
java.lang.String portName) |
| Modifier and Type | Method and Description |
|---|---|
protected Message |
handleGetMessage() |
protected boolean |
handleIsMessageAvailable() |
void |
sendMessage(Message m) |
connect, disconnect, getConnectedInputPort, getConnectedPort, handleMessageIndication, setConnectedInputPortaddPortMonitor, getDelimiter, getLocalName, getMessage, getName, getOwner, isConnected, isMessageAvailable, messageIndication, removePortMonitorprotected Message message
public SynchronousOutputPort(Entity owner, java.lang.String portName)
public SynchronousOutputPort(Entity owner)
public void sendMessage(Message m)
protected Message handleGetMessage()
handleGetMessage in class Portprotected boolean handleIsMessageAvailable()
handleIsMessageAvailable in class Port