@Deprecated public abstract class StdSingleServerQueue extends SingleServerQueue
StdSingleServerQueue
is still an abstract class as it does not
define methods ReceiveMessage
and
HandleEndOfService
. It contains statistics measuring server
occupancy as well as variables for service time (per length unit) and buffer
size which are read as parameters. If UseStatistics is unset the
statistic is not used (may be useful to increase performance).Entity.PortAlias
Modifier and Type | Field and Description |
---|---|
protected int |
bufferSize
Deprecated.
|
protected IntegralStatistic |
occupancyStat
Deprecated.
|
protected double |
serviceTime
Deprecated.
|
protected boolean |
useStatistics
Deprecated.
|
eosEvent, inputPort, outputPort
portAliases, ports, simNode
CREATE_INSTANCE_METHOD_NAME
Modifier | Constructor and Description |
---|---|
|
StdSingleServerQueue(int bufferSize,
double serviceRate,
boolean useStatistics,
SimNode ownNode)
Deprecated.
|
protected |
StdSingleServerQueue(SimNode ownNode)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected double |
calcServiceTime(Message msg)
Deprecated.
|
handleEndOfService, receiveMessage
addPort, aliasPort, aliasPort, connect, disconnect, getName, getNode, getPortByName, getPorts, isPortKnown, unaliasPort
protected boolean useStatistics
protected double serviceTime
protected int bufferSize
protected IntegralStatistic occupancyStat
public StdSingleServerQueue(int bufferSize, double serviceRate, boolean useStatistics, SimNode ownNode)
protected StdSingleServerQueue(SimNode ownNode)
protected double calcServiceTime(Message msg)