Icon | Member | Description |
---|---|---|
Session()()()() | Same as calling
Session(new SessionOptions(), null, null)
| |
Session(SessionOptions) |
Creates a session with the specified sessionOptions.
Remarks Same as calling
Session(sessionOptions, null, null).
| |
Session(SessionOptions, EventHandler) |
Creates a session with the specified sessionOptions and dispatch
events on this session to the specified handler Remarks
Same as calling
Session(sessionOptions, handler, null)
| |
Session(SessionOptions, EventHandler, EventDispatcher) |
Creates a session with the specified sessionOptions and dispatch
events on this session using the provided dispatcher
to the specified handler Remarks See SessionOptions
for information on what options can be specified.
If the specified eventHandler is not null then this Session will operate in asynchronous mode, otherwise the Session will operate in Synchronous mode. If eventDispatcher is null then the Session will create a default EventDispatcher for this Session which will use a single thread for dispatching events. For more control over event dispatching a specific instance of EventDispatcher can be supplied. This can be used to share a single EventDispatcher among multiple Session objects. If an eventDispatcher is supplied which uses more than one thread the Session will ensure that events which should be ordered are passed to callbacks in a correct order. For example, updates to a single subscription. Each EventDispatcher uses its own thread or pool of threads so if you want to ensure that a session which receives very large messages and takes a long time to process them does not delay a session that receives small messages and processes each one very quickly then give each one a separate EventDispatcher. |
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1