Click or drag to resize
AbstractSession Class
This class provides an abstract session for sharing interfaces between Session and ProviderSession.
Inheritance Hierarchy

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.10.3.1
Syntax
public abstract class AbstractSession : IDisposable

The AbstractSession type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractSession
Initializes a new instance of the AbstractSession class
Top
Methods
  NameDescription
Public methodCancel(CorrelationID)
Cancels an outstanding request or a subscription represented by the specified correlationId.
Public methodCancel(IListCorrelationID)
Cancels outstanding requests or subscriptions represented by the specified list of correlationIds.
Public methodCancel(CorrelationID, String)
Cancels an outstanding request or a subscription represented by the specified correlationId.
Public methodCancel(IListCorrelationID, String)
Cancels outstanding requests or subscriptions represented by the specified list of correlationIds.
Public methodCreateIdentity
Returns a new Identity which is valid but has not been authorized.
Public methodCreateUserHandle Obsolete.
Protected methodDispatchEvent
Public methodGenerateToken
Return a generated token to be used for authorization.
Public methodGenerateToken(CorrelationID)
Return a generated token to be used for authorization.
Public methodGenerateToken(CorrelationID, EventQueue)
Return a generated token to be used for authorization.
Public methodGetService
Returns a handle to a Service object representing the service identified by the specified uri.
Protected methodInit
Public methodNextEvent
Returns the next event available for processing on this session.
Public methodNextEvent(Int64)
Returns the next event available for processing on this session.
Public methodOpenService
Opens the service having the specified uri.
Public methodOpenServiceAsync(String)
Issues an asynchronous request to open a service.
Public methodOpenServiceAsync(String, CorrelationID)
Initiates an asynchronous request to open a service.
Public methodSendAuthorizationRequest(Request, Identity, CorrelationID)
Sends the specified authorizationRequest and update the specified identity with the results.
Public methodSendAuthorizationRequest(Request, UserHandle, CorrelationID) Obsolete.
Public methodSendAuthorizationRequest(Request, Identity, CorrelationID, String)
Sends the specified authorizationRequest and update the specified identity with the results.
Public methodSendAuthorizationRequest(Request, Identity, EventQueue, CorrelationID)
Sends the specified authorizationRequest and update the specified identity with the results.
Public methodSendAuthorizationRequest(Request, UserHandle, CorrelationID, String) Obsolete.
Public methodSendAuthorizationRequest(Request, UserHandle, EventQueue, CorrelationID) Obsolete.
Public methodSendAuthorizationRequest(Request, Identity, EventQueue, CorrelationID, String)
Sends the specified authorizationRequest and update the specified identity with the results.
Public methodSendAuthorizationRequest(Request, UserHandle, EventQueue, CorrelationID, String) Obsolete.
Public methodStart
Issues a blocking call to start the session.
Public methodStartAsync
Initiates a non blocking call to start the session.
Public methodStop
Stops this session.
Public methodStop(AbstractSessionStopOption)
Stops the operation of this session.
Public methodTryNextEvent
Tries to retrieve the next event available for processing on this session
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIDisposableDispose
Dispose this Session object. It calls AbstractSession.Stop() to close the opened socket.
Top
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.
See Also