@Deprecated public abstract class SingleServerQueue extends Entity implements MessageReceiver, ReflectionConstructable2<SimNode,Parameters>
SingleServerQueue is an abstract base class for single servers.
It provides a non-blocking input port ("input") and a non-blocking
(synchronous) output port ("output").
Messages received on the input port are forwarded to the method
ReceiveMessage which has to be defined in derived classes.
Moreover, it contains an end of service event which is handled by
HandleEndOfService that has to defined in subclasses.
Entity.PortAlias| Modifier and Type | Field and Description |
|---|---|
protected Event |
eosEvent
Deprecated.
|
protected NonBlockingInputPort |
inputPort
Deprecated.
|
protected SynchronousOutputPort |
outputPort
Deprecated.
|
portAliases, ports, simNodeCREATE_INSTANCE_METHOD_NAME| Constructor and Description |
|---|
SingleServerQueue(SimNode ownNode)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
handleEndOfService(double currentTime)
Deprecated.
|
abstract void |
receiveMessage(Message msg)
Deprecated.
|
addPort, aliasPort, aliasPort, connect, disconnect, getName, getNode, getPortByName, getPorts, isPortKnown, unaliasPortprotected final NonBlockingInputPort inputPort
protected final SynchronousOutputPort outputPort
protected final Event eosEvent
public SingleServerQueue(SimNode ownNode)
public abstract void receiveMessage(Message msg)
receiveMessage in interface MessageReceiverpublic abstract void handleEndOfService(double currentTime)