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, setConnectedInputPort
addPortMonitor, getDelimiter, getLocalName, getMessage, getName, getOwner, isConnected, isMessageAvailable, messageIndication, removePortMonitor
protected 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 Port
protected boolean handleIsMessageAvailable()
handleIsMessageAvailable
in class Port