public abstract class StdDemultiplexer extends Demultiplexer
StdDemultiplexer
the number of output ports is submitted to
the constructor.Entity.PortAlias
Modifier and Type | Field and Description |
---|---|
protected java.util.List<OutputPort> |
outputPorts |
inputPort
portAliases, ports, simNode
Constructor and Description |
---|
StdDemultiplexer(int noOfPorts,
SimNode ownNode) |
StdDemultiplexer(SimNode ownNode) |
Modifier and Type | Method and Description |
---|---|
OutputPort |
addPort()
Uses "output <++N>" as port name
|
OutputPort |
addPort(java.lang.String portName) |
OutputPort |
getOutput(int index) |
void |
removePort(java.lang.String portName) |
determineOutputPort, getInput, handleGetMessage, handleIsMessageAvailable
addPort, aliasPort, aliasPort, connect, disconnect, getName, getNode, getPortByName, getPorts, isPortKnown, unaliasPort
protected java.util.List<OutputPort> outputPorts
public StdDemultiplexer(int noOfPorts, SimNode ownNode)
public StdDemultiplexer(SimNode ownNode)
public OutputPort getOutput(int index)
getOutput
in class Demultiplexer
public OutputPort addPort(java.lang.String portName)
public OutputPort addPort()
public void removePort(java.lang.String portName)