public abstract class InputPort extends Port
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INPUT_PORT_NAME |
protected OutputPort |
prev |
Constructor and Description |
---|
InputPort(Entity owner) |
InputPort(Entity owner,
java.lang.String portName) |
Modifier and Type | Method and Description |
---|---|
OutputPort |
getConnectedOutputPort() |
Port |
getConnectedPort()
Returns the connected port.
|
protected Message |
handleGetMessage() |
protected boolean |
handleIsMessageAvailable() |
void |
setConnectedOutputPort(OutputPort fromPort) |
addPortMonitor, getDelimiter, getLocalName, getMessage, getName, getOwner, handleMessageIndication, isConnected, isMessageAvailable, messageIndication, removePortMonitor
public static final java.lang.String INPUT_PORT_NAME
protected OutputPort prev
public InputPort(Entity owner, java.lang.String portName)
public InputPort(Entity owner)
public Port getConnectedPort()
Port
getConnectedPort
in class Port
public OutputPort getConnectedOutputPort()
public void setConnectedOutputPort(OutputPort fromPort)
protected boolean handleIsMessageAvailable()
handleIsMessageAvailable
in class Port
protected Message handleGetMessage()
handleGetMessage
in class Port