public abstract class OutputPort extends Port
Modifier and Type | Field and Description |
---|---|
protected InputPort |
next |
static java.lang.String |
OUTPUT_PORT_NAME |
Constructor and Description |
---|
OutputPort(Entity owner) |
OutputPort(Entity owner,
java.lang.String portName) |
Modifier and Type | Method and Description |
---|---|
void |
connect(InputPort inputPort) |
void |
disconnect(InputPort toPort) |
InputPort |
getConnectedInputPort() |
Port |
getConnectedPort()
Returns the connected port.
|
protected void |
handleMessageIndication(Message msg) |
void |
setConnectedInputPort(InputPort inputPort) |
addPortMonitor, getDelimiter, getLocalName, getMessage, getName, getOwner, handleGetMessage, handleIsMessageAvailable, isConnected, isMessageAvailable, messageIndication, removePortMonitor
public static final java.lang.String OUTPUT_PORT_NAME
protected InputPort next
public OutputPort(Entity owner, java.lang.String portName)
public OutputPort(Entity owner)
public Port getConnectedPort()
Port
getConnectedPort
in class Port
public InputPort getConnectedInputPort()
public void setConnectedInputPort(InputPort inputPort)
protected void handleMessageIndication(Message msg)
handleMessageIndication
in class Port
public void connect(InputPort inputPort)
public void disconnect(InputPort toPort)