This class provides an abstract session for sharing interfaces between
Session and ProviderSession.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract class AbstractSession : IDisposable
Public MustInherit Class AbstractSession Implements IDisposable
public ref class AbstractSession abstract : IDisposable
Members
All Members | Constructors | Methods | |||
Icon | Member | Description |
---|---|---|
AbstractSession()()()() | Initializes a new instance of the AbstractSession class | |
Cancel(CorrelationID) | Cancels an outstanding request or a subscription represented by the
specified correlationId.
| |
Cancel(CorrelationID, String) | Cancels an outstanding request or a subscription represented by the
specified correlationId.
| |
Cancel(IList<(Of <<'(CorrelationID>)>>)) | Cancels outstanding requests or subscriptions represented by the
specified list of correlationIds.
| |
Cancel(IList<(Of <<'(CorrelationID>)>>), String) | Cancels outstanding requests or subscriptions represented by the
specified list of correlationIds.
| |
CreateIdentity()()()() | Returns a new Identity which is valid but has not been authorized.
| |
CreateUserHandle()()()() | Obsolete. | |
DispatchEvent(Event) | ||
IDisposable..::..Dispose()()()() |
Dispose this Session object. It calls AbstractSession.Stop() to
close the opened socket.
| |
GenerateToken(CorrelationID, EventQueue) | Return a generated token to be used for authorization.
| |
GenerateToken(CorrelationID) | Return a generated token to be used for authorization.
| |
GenerateToken()()()() | Return a generated token to be used for authorization.
| |
GetService(String) |
Returns a handle to a
Service
object representing the service
identified by the specified uri.
| |
Init(SessionOptions, EventDispatcher, Boolean) | ||
NextEvent()()()() | Returns the next event available for processing on this session.
| |
NextEvent(Int64) | Returns the next event available for processing on this session.
| |
OpenService(String) |
Opens the service having the specified
uri.
| |
OpenServiceAsync(String) | Issues an asynchronous request to open a service.
| |
OpenServiceAsync(String, CorrelationID) | Initiates an asynchronous request to open a service.
| |
SendAuthorizationRequest(Request, Identity, CorrelationID) | Sends the specified authorizationRequest and update the specified
identity with the results.
| |
SendAuthorizationRequest(Request, UserHandle, CorrelationID) | Obsolete. | |
SendAuthorizationRequest(Request, Identity, CorrelationID, String) | Sends the specified authorizationRequest and update the specified
identity with the results.
| |
SendAuthorizationRequest(Request, UserHandle, CorrelationID, String) | Obsolete. | |
SendAuthorizationRequest(Request, Identity, EventQueue, CorrelationID) | Sends the specified authorizationRequest and update the specified
identity with the results.
| |
SendAuthorizationRequest(Request, UserHandle, EventQueue, CorrelationID) | Obsolete. | |
SendAuthorizationRequest(Request, Identity, EventQueue, CorrelationID, String) | Sends the specified authorizationRequest and update the specified
identity with the results.
| |
SendAuthorizationRequest(Request, UserHandle, EventQueue, CorrelationID, String) | Obsolete. | |
Start()()()() |
Issues a blocking call to start the session.
| |
StartAsync()()()() |
Initiates a non blocking call to start the session.
| |
Stop()()()() | Stops this session.
| |
Stop(AbstractSession..::..StopOption) | Stops the operation of this session.
| |
TryNextEvent()()()() | Tries to retrieve the next event available for processing
on this session
|
Remarks
Sessions manage access to services either by requests and responses or
subscriptions. A Session can dispatch events and replies in either a
synchronous or asynchronous mode. The mode of a Session is determined when it
is constructed and cannot be changed subsequently.
Inheritance Hierarchy
Object | ||
AbstractSession | ||
ProviderSession | ||
Session |
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1