Module org.bzdev.devqsim
Package org.bzdev.devqsim
Class SimObjQueueCallable<Server extends QueueServer>
java.lang.Object
org.bzdev.devqsim.SimObjQueueCallable<Server>
Bind a queue callable to a simulation object.
This allows a simulation listener to attribute events to
specific simulation objects in cases where this cannot be
done directly. To create an instance of SimObjQueueCallable,
use one of the bindCallable methods defined by the SimObject
class and with a QueueCallable argument.
-
Method Summary
Modifier and TypeMethodDescriptionfinal QueueCallable<Server>
Get the callable.final SimObject
Get the source that will be used for a simulation event.final String
getTag()
Get a descriptive tag.
-
Method Details
-
getSource
Get the source that will be used for a simulation event.- Returns:
- the source simulation object
-
getCallable
Get the callable.- Returns:
- the callable
-
getTag
Get a descriptive tag.- Returns:
- the string tagging the callable; null if none provided
-