Dispatches events from one or more sessions through callbacks.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public sealed class EventDispatcher
Public NotInheritable Class EventDispatcher
public ref class EventDispatcher sealed
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
EventDispatcher()()()() |
Same as calling
EventDispatcher(0).
| |
EventDispatcher(Int32) |
Creates an EventDispatcher with the specified number of dispatcher
threads.
| |
EventDispatcher(Int32, Int32) | Obsolete. Deprecated As of release 3.1.0.0 use
SessionOptions.setMaxEventQueueSize(int)
for setting the event queue size per session
| |
DispatcherThread()()()() | Adds a event dispatcher thread to this EventDispatcher.
| |
NumActiveThreads | Gets the number of active threads dispatching events in this
EventDispatcher.
| |
Start()()()() | Starts generating callbacks for events from Sessions associated with
this EventDispatcher.
| |
Stop()()()() | Same as calling Stop(StopOption)
with StopOption.SYNC.
| |
Stop(EventDispatcher..::..StopOption) | Stops generating callbacks for events from sessions.
|
Remarks
EventDispatcher objects are optionally specified when
Session objects are constructed. A single EventDispatcher can be
shared by multiple Session objects. The EventDispatcher provides an
event-driven interface, generating callbacks from one or more internal
threads for one or more sessions.
Thread Safety
Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
Inheritance Hierarchy
Object | |
EventDispatcher |
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1