public class UnitPhase extends Phase
Entity.PortAlias
Modifier and Type | Field and Description |
---|---|
protected Duration |
serviceTimePerUnit |
inputPort, occupancy, outputPort
portAliases, ports, simNode
CREATE_INSTANCE_METHOD_NAME
Constructor and Description |
---|
UnitPhase(Duration serviceTimePerUnit,
SimNode ownNode) |
Modifier and Type | Method and Description |
---|---|
static UnitPhase |
createInstance(SimNode ownNode,
Parameters pars)
as required by
ReflectionConstructable |
protected Duration |
getMessageProcessingDuration(Message msg) |
void |
setServiceTimePerUnit(Duration serviceTimePerUnit) |
forwardProcessedMessage, getInput, getOutput
addPort, aliasPort, aliasPort, connect, disconnect, getName, getNode, getPortByName, getPorts, isPortKnown, unaliasPort
protected Duration serviceTimePerUnit
public static UnitPhase createInstance(SimNode ownNode, Parameters pars)
ReflectionConstructable
public void setServiceTimePerUnit(Duration serviceTimePerUnit)
protected Duration getMessageProcessingDuration(Message msg)
getMessageProcessingDuration
in class Phase
msg
- the message which is currently processed