BLPAPI C++  3.20.6
blpapi_abstractsession.h File Reference

A common interface shared between publisher and consumer sessions. More...

#include <blpapi_authoptions.h>
#include <blpapi_correlationid.h>
#include <blpapi_call.h>
#include <blpapi_defs.h>
#include <blpapi_event.h>
#include <blpapi_eventdispatcher.h>
#include <blpapi_exceptionutil.h>
#include <blpapi_identity.h>
#include <blpapi_request.h>
#include <blpapi_service.h>
#include <blpapi_types.h>
#include <cassert>
#include <vector>

Go to the source code of this file.

Classes

class  AbstractSession
 

Namespaces

 BloombergLP
 
 BloombergLP::blpapi
 

Macros

#define INCLUDED_VECTOR
 

Typedefs

typedef Identity UserHandle
 

Functions

BLPAPI_EXPORT void blpapi_UserHandle_release (blpapi_UserHandle_t *handle)
 
BLPAPI_EXPORT int blpapi_UserHandle_addRef (blpapi_UserHandle_t *handle)
 
BLPAPI_EXPORT int blpapi_UserHandle_hasEntitlements (const blpapi_UserHandle_t *handle, const blpapi_Service_t *service, const blpapi_Element_t *eidElement, const int *entitlementIds, size_t numEntitlements, int *failedEntitlements, int *failedEntitlementsCount)
 
BLPAPI_EXPORT int blpapi_AbstractSession_cancel (blpapi_AbstractSession_t *session, const blpapi_CorrelationId_t *correlationIds, size_t numCorrelationIds, const char *requestLabel, int requestLabelLen)
 
BLPAPI_EXPORT int blpapi_AbstractSession_sendAuthorizationRequest (blpapi_AbstractSession_t *session, const blpapi_Request_t *request, blpapi_Identity_t *identity, blpapi_CorrelationId_t *correlationId, blpapi_EventQueue_t *eventQueue, const char *requestLabel, int requestLabelLen)
 
BLPAPI_EXPORT int blpapi_AbstractSession_openService (blpapi_AbstractSession_t *session, const char *serviceIdentifier)
 
BLPAPI_EXPORT int blpapi_AbstractSession_openServiceAsync (blpapi_AbstractSession_t *session, const char *serviceIdentifier, blpapi_CorrelationId_t *correlationId)
 
BLPAPI_EXPORT int blpapi_AbstractSession_generateToken (blpapi_AbstractSession_t *session, blpapi_CorrelationId_t *correlationId, blpapi_EventQueue_t *eventQueue)
 
BLPAPI_EXPORT int blpapi_AbstractSession_generateManualToken (blpapi_AbstractSession_t *session, blpapi_CorrelationId_t *correlationId, const char *user, const char *manualIp, blpapi_EventQueue_t *eventQueue)
 
BLPAPI_EXPORT int blpapi_AbstractSession_getService (blpapi_AbstractSession_t *session, blpapi_Service_t **service, const char *serviceIdentifier)
 
BLPAPI_EXPORT blpapi_Identity_tblpapi_AbstractSession_createIdentity (blpapi_AbstractSession_t *session)
 
BLPAPI_EXPORT int blpapi_AbstractSession_generateAuthorizedIdentityAsync (blpapi_AbstractSession_t *session, const blpapi_AuthOptions_t *authOptions, blpapi_CorrelationId_t *cid)
 
BLPAPI_EXPORT int blpapi_AbstractSession_getAuthorizedIdentity (blpapi_AbstractSession_t *session, const blpapi_CorrelationId_t *cid, blpapi_Identity_t **identity)
 

Detailed Description

A common interface shared between publisher and consumer sessions.

Macro Definition Documentation

◆ INCLUDED_VECTOR

#define INCLUDED_VECTOR

Function Documentation

◆ blpapi_AbstractSession_cancel()

BLPAPI_EXPORT int blpapi_AbstractSession_cancel ( blpapi_AbstractSession_t session,
const blpapi_CorrelationId_t *  correlationIds,
size_t  numCorrelationIds,
const char *  requestLabel,
int  requestLabelLen 
)

◆ blpapi_AbstractSession_createIdentity()

BLPAPI_EXPORT blpapi_Identity_t* blpapi_AbstractSession_createIdentity ( blpapi_AbstractSession_t session)

◆ blpapi_AbstractSession_generateAuthorizedIdentityAsync()

BLPAPI_EXPORT int blpapi_AbstractSession_generateAuthorizedIdentityAsync ( blpapi_AbstractSession_t session,
const blpapi_AuthOptions_t authOptions,
blpapi_CorrelationId_t *  cid 
)

◆ blpapi_AbstractSession_generateManualToken()

BLPAPI_EXPORT int blpapi_AbstractSession_generateManualToken ( blpapi_AbstractSession_t session,
blpapi_CorrelationId_t *  correlationId,
const char *  user,
const char *  manualIp,
blpapi_EventQueue_t eventQueue 
)

◆ blpapi_AbstractSession_generateToken()

BLPAPI_EXPORT int blpapi_AbstractSession_generateToken ( blpapi_AbstractSession_t session,
blpapi_CorrelationId_t *  correlationId,
blpapi_EventQueue_t eventQueue 
)

◆ blpapi_AbstractSession_getAuthorizedIdentity()

BLPAPI_EXPORT int blpapi_AbstractSession_getAuthorizedIdentity ( blpapi_AbstractSession_t session,
const blpapi_CorrelationId_t *  cid,
blpapi_Identity_t **  identity 
)

◆ blpapi_AbstractSession_getService()

BLPAPI_EXPORT int blpapi_AbstractSession_getService ( blpapi_AbstractSession_t session,
blpapi_Service_t **  service,
const char *  serviceIdentifier 
)

◆ blpapi_AbstractSession_openService()

BLPAPI_EXPORT int blpapi_AbstractSession_openService ( blpapi_AbstractSession_t session,
const char *  serviceIdentifier 
)

◆ blpapi_AbstractSession_openServiceAsync()

BLPAPI_EXPORT int blpapi_AbstractSession_openServiceAsync ( blpapi_AbstractSession_t session,
const char *  serviceIdentifier,
blpapi_CorrelationId_t *  correlationId 
)

◆ blpapi_AbstractSession_sendAuthorizationRequest()

BLPAPI_EXPORT int blpapi_AbstractSession_sendAuthorizationRequest ( blpapi_AbstractSession_t session,
const blpapi_Request_t request,
blpapi_Identity_t identity,
blpapi_CorrelationId_t *  correlationId,
blpapi_EventQueue_t eventQueue,
const char *  requestLabel,
int  requestLabelLen 
)

◆ blpapi_UserHandle_addRef()

BLPAPI_EXPORT int blpapi_UserHandle_addRef ( blpapi_UserHandle_t handle)

◆ blpapi_UserHandle_hasEntitlements()

BLPAPI_EXPORT int blpapi_UserHandle_hasEntitlements ( const blpapi_UserHandle_t handle,
const blpapi_Service_t service,
const blpapi_Element_t eidElement,
const int *  entitlementIds,
size_t  numEntitlements,
int *  failedEntitlements,
int *  failedEntitlementsCount 
)

◆ blpapi_UserHandle_release()

BLPAPI_EXPORT void blpapi_UserHandle_release ( blpapi_UserHandle_t handle)