public class UnitPhase extends Phase
Entity.PortAlias| Modifier and Type | Field and Description |
|---|---|
protected double |
serviceTimePerUnit |
event, inputPort, occupancy, outputPortportAliases, ports, simNodeCREATE_INSTANCE_METHOD_NAME| Constructor and Description |
|---|
UnitPhase(double serviceTimePerUnit,
SimNode ownNode) |
| Modifier and Type | Method and Description |
|---|---|
static UnitPhase |
createInstance(SimNode ownNode,
Parameters pars)
as required by
ReflectionConstructable |
protected double |
getMessageProcessingDuration(Message msg) |
void |
setServiceTimePerUnit(double serviceTimePerUnit) |
forwardProcessedMessage, getInput, getOutputaddPort, aliasPort, aliasPort, connect, disconnect, getName, getNode, getPortByName, getPorts, isPortKnown, unaliasPortpublic UnitPhase(double serviceTimePerUnit,
SimNode ownNode)
public static UnitPhase createInstance(SimNode ownNode, Parameters pars)
ReflectionConstructablepublic void setServiceTimePerUnit(double serviceTimePerUnit)
protected double getMessageProcessingDuration(Message msg)
getMessageProcessingDuration in class Phasemsg - the message which is currently processed