public abstract class Demultiplexer extends Entity
GetOutputPort
which
has to be defined in derived classes.Entity.PortAlias
Modifier and Type | Field and Description |
---|---|
protected InputPort |
inputPort |
portAliases, ports, simNode
Constructor and Description |
---|
Demultiplexer(java.lang.String name,
SimNode owner) |
Modifier and Type | Method and Description |
---|---|
protected abstract Port |
determineOutputPort(Message msg) |
InputPort |
getInput() |
abstract OutputPort |
getOutput(int index) |
protected Message |
handleGetMessage(Port port) |
protected boolean |
handleIsMessageAvailable(Port port) |
addPort, aliasPort, aliasPort, connect, disconnect, getName, getNode, getPortByName, getPorts, isPortKnown, unaliasPort
protected final InputPort inputPort
public Demultiplexer(java.lang.String name, SimNode owner)
public InputPort getInput()
public abstract OutputPort getOutput(int index)
protected boolean handleIsMessageAvailable(Port port)