BLPAPI C++  3.23.2
blpapi_sessionoptions.h File Reference

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

#include <blpapi_call.h>
#include <blpapi_correlationid.h>
#include <blpapi_defs.h>
#include <blpapi_exception.h>
#include <blpapi_streamproxy.h>
#include <blpapi_tlsoptions.h>
#include <blpapi_types.h>
#include <blpapi_authoptions.h>
#include <blpapi_error.h>
#include <blpapi_socks5config.h>
#include <stddef.h>

Go to the source code of this file.

Classes

class  SessionOptions
 

Namespaces

 BloombergLP
 
 BloombergLP::blpapi
 

Functions

blpapi_SessionOptions_tblpapi_SessionOptions_create (void)
 
blpapi_SessionOptions_tblpapi_SessionOptions_duplicate (const blpapi_SessionOptions_t *parameters)
 
void blpapi_SessionOptions_copy (blpapi_SessionOptions_t *lhs, const blpapi_SessionOptions_t *rhs)
 
void blpapi_SessionOptions_destroy (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_setServerHost (blpapi_SessionOptions_t *parameters, const char *serverHost)
 
int blpapi_SessionOptions_setServerPort (blpapi_SessionOptions_t *parameters, unsigned short serverPort)
 
int blpapi_SessionOptions_setServerAddress (blpapi_SessionOptions_t *parameters, const char *serverHost, unsigned short serverPort, size_t index)
 
int blpapi_SessionOptions_setServerAddressWithProxy (blpapi_SessionOptions_t *parameters, const char *serverHost, unsigned short serverPort, const blpapi_Socks5Config_t *socks5Config, size_t index)
 
int blpapi_SessionOptions_removeServerAddress (blpapi_SessionOptions_t *parameters, size_t index)
 
int blpapi_SessionOptions_setConnectTimeout (blpapi_SessionOptions_t *parameters, unsigned int timeoutInMilliseconds)
 
int blpapi_SessionOptions_setDefaultServices (blpapi_SessionOptions_t *parameters, const char *defaultServices)
 
int blpapi_SessionOptions_setDefaultSubscriptionService (blpapi_SessionOptions_t *parameters, const char *serviceIdentifier)
 
void blpapi_SessionOptions_setDefaultTopicPrefix (blpapi_SessionOptions_t *parameters, const char *prefix)
 
void blpapi_SessionOptions_setAllowMultipleCorrelatorsPerMsg (blpapi_SessionOptions_t *parameters, int allowMultipleCorrelatorsPerMsg)
 
void blpapi_SessionOptions_setClientMode (blpapi_SessionOptions_t *parameters, int clientMode)
 
void blpapi_SessionOptions_setMaxPendingRequests (blpapi_SessionOptions_t *parameters, int maxPendingRequests)
 
void blpapi_SessionOptions_setAutoRestartOnDisconnection (blpapi_SessionOptions_t *parameters, int autoRestart)
 
void blpapi_SessionOptions_setAutoRestart (blpapi_SessionOptions_t *parameters, int autoRestart)
 
int blpapi_SessionOptions_setSessionIdentityOptions (blpapi_SessionOptions_t *parameters, const blpapi_AuthOptions_t *authOptions, blpapi_CorrelationId_t *cid)
 
void blpapi_SessionOptions_setAuthenticationOptions (blpapi_SessionOptions_t *parameters, const char *authOptions)
 
void blpapi_SessionOptions_setNumStartAttempts (blpapi_SessionOptions_t *parameters, int numStartAttempts)
 
void blpapi_SessionOptions_setMaxEventQueueSize (blpapi_SessionOptions_t *parameters, size_t maxEventQueueSize)
 
int blpapi_SessionOptions_setSlowConsumerWarningHiWaterMark (blpapi_SessionOptions_t *parameters, float hiWaterMark)
 
int blpapi_SessionOptions_setSlowConsumerWarningLoWaterMark (blpapi_SessionOptions_t *parameters, float loWaterMark)
 
int blpapi_SessionOptions_setDefaultKeepAliveInactivityTime (blpapi_SessionOptions_t *parameters, int inactivityMsecs)
 
int blpapi_SessionOptions_setDefaultKeepAliveResponseTimeout (blpapi_SessionOptions_t *parameters, int timeoutMsecs)
 
int blpapi_SessionOptions_setKeepAliveEnabled (blpapi_SessionOptions_t *parameters, int isEnabled)
 
void blpapi_SessionOptions_setRecordSubscriptionDataReceiveTimes (blpapi_SessionOptions_t *parameters, int shouldRecord)
 
int blpapi_SessionOptions_setServiceCheckTimeout (blpapi_SessionOptions_t *paramaters, int timeoutMsecs)
 
int blpapi_SessionOptions_setServiceDownloadTimeout (blpapi_SessionOptions_t *paramaters, int timeoutMsecs)
 
void blpapi_SessionOptions_setTlsOptions (blpapi_SessionOptions_t *paramaters, const blpapi_TlsOptions_t *tlsOptions)
 
int blpapi_SessionOptions_setFlushPublishedEventsTimeout (blpapi_SessionOptions_t *paramaters, int timeoutMsecs)
 
int blpapi_SessionOptions_setBandwidthSaveModeDisabled (blpapi_SessionOptions_t *parameters, int disableBandwidthSaveMode)
 
const char * blpapi_SessionOptions_serverHost (blpapi_SessionOptions_t *parameters)
 
unsigned int blpapi_SessionOptions_serverPort (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_numServerAddresses (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_getServerAddress (blpapi_SessionOptions_t *parameters, const char **serverHost, unsigned short *serverPort, size_t index)
 
int blpapi_SessionOptions_getServerAddressWithProxy (blpapi_SessionOptions_t *parameters, const char **serverHost, unsigned short *serverPort, const char **socks5Host, unsigned short *sock5Port, size_t index)
 
unsigned int blpapi_SessionOptions_connectTimeout (blpapi_SessionOptions_t *parameters)
 
const char * blpapi_SessionOptions_defaultServices (blpapi_SessionOptions_t *parameters)
 
const char * blpapi_SessionOptions_defaultSubscriptionService (blpapi_SessionOptions_t *parameters)
 
const char * blpapi_SessionOptions_defaultTopicPrefix (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_allowMultipleCorrelatorsPerMsg (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_clientMode (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_maxPendingRequests (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_autoRestartOnDisconnection (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_autoRestart (blpapi_SessionOptions_t *parameters)
 
const char * blpapi_SessionOptions_authenticationOptions (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_numStartAttempts (blpapi_SessionOptions_t *parameters)
 
size_t blpapi_SessionOptions_maxEventQueueSize (blpapi_SessionOptions_t *parameters)
 
float blpapi_SessionOptions_slowConsumerWarningHiWaterMark (blpapi_SessionOptions_t *parameters)
 
float blpapi_SessionOptions_slowConsumerWarningLoWaterMark (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_defaultKeepAliveInactivityTime (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_defaultKeepAliveResponseTimeout (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_keepAliveEnabled (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_recordSubscriptionDataReceiveTimes (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_serviceCheckTimeout (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_serviceDownloadTimeout (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_print (blpapi_SessionOptions_t *parameters, blpapi_StreamWriter_t streamWriter, void *stream, int indentLevel, int spacesPerLevel)
 
int blpapi_SessionOptions_flushPublishedEventsTimeout (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_bandwidthSaveModeDisabled (blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_setApplicationIdentityKey (blpapi_SessionOptions_t *parameters, const char *applicationIdentityKey, size_t size)
 
int blpapi_SessionOptions_applicationIdentityKey (const char **applicationIdentityKey, size_t *size, blpapi_SessionOptions_t *parameters)
 
int blpapi_SessionOptions_setSessionName (blpapi_SessionOptions_t *parameters, const char *sessionName, size_t size)
 
int blpapi_SessionOptions_sessionName (const char **sessionName, size_t *size, blpapi_SessionOptions_t *parameters)
 
std::ostream & operator<< (std::ostream &stream, const SessionOptions &sessionOptions)
 

Detailed Description

A common interface shared between publish and consumer sessions.

Function Documentation

◆ blpapi_SessionOptions_allowMultipleCorrelatorsPerMsg()

int blpapi_SessionOptions_allowMultipleCorrelatorsPerMsg ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_applicationIdentityKey()

int blpapi_SessionOptions_applicationIdentityKey ( const char **  applicationIdentityKey,
size_t *  size,
blpapi_SessionOptions_t parameters 
)

◆ blpapi_SessionOptions_authenticationOptions()

const char* blpapi_SessionOptions_authenticationOptions ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_autoRestart()

int blpapi_SessionOptions_autoRestart ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_autoRestartOnDisconnection()

int blpapi_SessionOptions_autoRestartOnDisconnection ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_bandwidthSaveModeDisabled()

int blpapi_SessionOptions_bandwidthSaveModeDisabled ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_clientMode()

int blpapi_SessionOptions_clientMode ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_connectTimeout()

unsigned int blpapi_SessionOptions_connectTimeout ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_copy()

void blpapi_SessionOptions_copy ( blpapi_SessionOptions_t lhs,
const blpapi_SessionOptions_t rhs 
)

◆ blpapi_SessionOptions_create()

blpapi_SessionOptions_t* blpapi_SessionOptions_create ( void  )

◆ blpapi_SessionOptions_defaultKeepAliveInactivityTime()

int blpapi_SessionOptions_defaultKeepAliveInactivityTime ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_defaultKeepAliveResponseTimeout()

int blpapi_SessionOptions_defaultKeepAliveResponseTimeout ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_defaultServices()

const char* blpapi_SessionOptions_defaultServices ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_defaultSubscriptionService()

const char* blpapi_SessionOptions_defaultSubscriptionService ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_defaultTopicPrefix()

const char* blpapi_SessionOptions_defaultTopicPrefix ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_destroy()

void blpapi_SessionOptions_destroy ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_duplicate()

blpapi_SessionOptions_t* blpapi_SessionOptions_duplicate ( const blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_flushPublishedEventsTimeout()

int blpapi_SessionOptions_flushPublishedEventsTimeout ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_getServerAddress()

int blpapi_SessionOptions_getServerAddress ( blpapi_SessionOptions_t parameters,
const char **  serverHost,
unsigned short *  serverPort,
size_t  index 
)

◆ blpapi_SessionOptions_getServerAddressWithProxy()

int blpapi_SessionOptions_getServerAddressWithProxy ( blpapi_SessionOptions_t parameters,
const char **  serverHost,
unsigned short *  serverPort,
const char **  socks5Host,
unsigned short *  sock5Port,
size_t  index 
)

◆ blpapi_SessionOptions_keepAliveEnabled()

int blpapi_SessionOptions_keepAliveEnabled ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_maxEventQueueSize()

size_t blpapi_SessionOptions_maxEventQueueSize ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_maxPendingRequests()

int blpapi_SessionOptions_maxPendingRequests ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_numServerAddresses()

int blpapi_SessionOptions_numServerAddresses ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_numStartAttempts()

int blpapi_SessionOptions_numStartAttempts ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_print()

int blpapi_SessionOptions_print ( blpapi_SessionOptions_t parameters,
blpapi_StreamWriter_t  streamWriter,
void *  stream,
int  indentLevel,
int  spacesPerLevel 
)

◆ blpapi_SessionOptions_recordSubscriptionDataReceiveTimes()

int blpapi_SessionOptions_recordSubscriptionDataReceiveTimes ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_removeServerAddress()

int blpapi_SessionOptions_removeServerAddress ( blpapi_SessionOptions_t parameters,
size_t  index 
)

◆ blpapi_SessionOptions_serverHost()

const char* blpapi_SessionOptions_serverHost ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_serverPort()

unsigned int blpapi_SessionOptions_serverPort ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_serviceCheckTimeout()

int blpapi_SessionOptions_serviceCheckTimeout ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_serviceDownloadTimeout()

int blpapi_SessionOptions_serviceDownloadTimeout ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_sessionName()

int blpapi_SessionOptions_sessionName ( const char **  sessionName,
size_t *  size,
blpapi_SessionOptions_t parameters 
)

◆ blpapi_SessionOptions_setAllowMultipleCorrelatorsPerMsg()

void blpapi_SessionOptions_setAllowMultipleCorrelatorsPerMsg ( blpapi_SessionOptions_t parameters,
int  allowMultipleCorrelatorsPerMsg 
)

◆ blpapi_SessionOptions_setApplicationIdentityKey()

int blpapi_SessionOptions_setApplicationIdentityKey ( blpapi_SessionOptions_t parameters,
const char *  applicationIdentityKey,
size_t  size 
)

◆ blpapi_SessionOptions_setAuthenticationOptions()

void blpapi_SessionOptions_setAuthenticationOptions ( blpapi_SessionOptions_t parameters,
const char *  authOptions 
)

◆ blpapi_SessionOptions_setAutoRestart()

void blpapi_SessionOptions_setAutoRestart ( blpapi_SessionOptions_t parameters,
int  autoRestart 
)

◆ blpapi_SessionOptions_setAutoRestartOnDisconnection()

void blpapi_SessionOptions_setAutoRestartOnDisconnection ( blpapi_SessionOptions_t parameters,
int  autoRestart 
)

◆ blpapi_SessionOptions_setBandwidthSaveModeDisabled()

int blpapi_SessionOptions_setBandwidthSaveModeDisabled ( blpapi_SessionOptions_t parameters,
int  disableBandwidthSaveMode 
)

◆ blpapi_SessionOptions_setClientMode()

void blpapi_SessionOptions_setClientMode ( blpapi_SessionOptions_t parameters,
int  clientMode 
)

◆ blpapi_SessionOptions_setConnectTimeout()

int blpapi_SessionOptions_setConnectTimeout ( blpapi_SessionOptions_t parameters,
unsigned int  timeoutInMilliseconds 
)

◆ blpapi_SessionOptions_setDefaultKeepAliveInactivityTime()

int blpapi_SessionOptions_setDefaultKeepAliveInactivityTime ( blpapi_SessionOptions_t parameters,
int  inactivityMsecs 
)

◆ blpapi_SessionOptions_setDefaultKeepAliveResponseTimeout()

int blpapi_SessionOptions_setDefaultKeepAliveResponseTimeout ( blpapi_SessionOptions_t parameters,
int  timeoutMsecs 
)

◆ blpapi_SessionOptions_setDefaultServices()

int blpapi_SessionOptions_setDefaultServices ( blpapi_SessionOptions_t parameters,
const char *  defaultServices 
)

◆ blpapi_SessionOptions_setDefaultSubscriptionService()

int blpapi_SessionOptions_setDefaultSubscriptionService ( blpapi_SessionOptions_t parameters,
const char *  serviceIdentifier 
)

◆ blpapi_SessionOptions_setDefaultTopicPrefix()

void blpapi_SessionOptions_setDefaultTopicPrefix ( blpapi_SessionOptions_t parameters,
const char *  prefix 
)

◆ blpapi_SessionOptions_setFlushPublishedEventsTimeout()

int blpapi_SessionOptions_setFlushPublishedEventsTimeout ( blpapi_SessionOptions_t paramaters,
int  timeoutMsecs 
)

◆ blpapi_SessionOptions_setKeepAliveEnabled()

int blpapi_SessionOptions_setKeepAliveEnabled ( blpapi_SessionOptions_t parameters,
int  isEnabled 
)

◆ blpapi_SessionOptions_setMaxEventQueueSize()

void blpapi_SessionOptions_setMaxEventQueueSize ( blpapi_SessionOptions_t parameters,
size_t  maxEventQueueSize 
)

◆ blpapi_SessionOptions_setMaxPendingRequests()

void blpapi_SessionOptions_setMaxPendingRequests ( blpapi_SessionOptions_t parameters,
int  maxPendingRequests 
)

◆ blpapi_SessionOptions_setNumStartAttempts()

void blpapi_SessionOptions_setNumStartAttempts ( blpapi_SessionOptions_t parameters,
int  numStartAttempts 
)

◆ blpapi_SessionOptions_setRecordSubscriptionDataReceiveTimes()

void blpapi_SessionOptions_setRecordSubscriptionDataReceiveTimes ( blpapi_SessionOptions_t parameters,
int  shouldRecord 
)

◆ blpapi_SessionOptions_setServerAddress()

int blpapi_SessionOptions_setServerAddress ( blpapi_SessionOptions_t parameters,
const char *  serverHost,
unsigned short  serverPort,
size_t  index 
)

◆ blpapi_SessionOptions_setServerAddressWithProxy()

int blpapi_SessionOptions_setServerAddressWithProxy ( blpapi_SessionOptions_t parameters,
const char *  serverHost,
unsigned short  serverPort,
const blpapi_Socks5Config_t socks5Config,
size_t  index 
)

◆ blpapi_SessionOptions_setServerHost()

int blpapi_SessionOptions_setServerHost ( blpapi_SessionOptions_t parameters,
const char *  serverHost 
)

◆ blpapi_SessionOptions_setServerPort()

int blpapi_SessionOptions_setServerPort ( blpapi_SessionOptions_t parameters,
unsigned short  serverPort 
)

◆ blpapi_SessionOptions_setServiceCheckTimeout()

int blpapi_SessionOptions_setServiceCheckTimeout ( blpapi_SessionOptions_t paramaters,
int  timeoutMsecs 
)

◆ blpapi_SessionOptions_setServiceDownloadTimeout()

int blpapi_SessionOptions_setServiceDownloadTimeout ( blpapi_SessionOptions_t paramaters,
int  timeoutMsecs 
)

◆ blpapi_SessionOptions_setSessionIdentityOptions()

int blpapi_SessionOptions_setSessionIdentityOptions ( blpapi_SessionOptions_t parameters,
const blpapi_AuthOptions_t authOptions,
blpapi_CorrelationId_t *  cid 
)

◆ blpapi_SessionOptions_setSessionName()

int blpapi_SessionOptions_setSessionName ( blpapi_SessionOptions_t parameters,
const char *  sessionName,
size_t  size 
)

◆ blpapi_SessionOptions_setSlowConsumerWarningHiWaterMark()

int blpapi_SessionOptions_setSlowConsumerWarningHiWaterMark ( blpapi_SessionOptions_t parameters,
float  hiWaterMark 
)

◆ blpapi_SessionOptions_setSlowConsumerWarningLoWaterMark()

int blpapi_SessionOptions_setSlowConsumerWarningLoWaterMark ( blpapi_SessionOptions_t parameters,
float  loWaterMark 
)

◆ blpapi_SessionOptions_setTlsOptions()

void blpapi_SessionOptions_setTlsOptions ( blpapi_SessionOptions_t paramaters,
const blpapi_TlsOptions_t tlsOptions 
)

◆ blpapi_SessionOptions_slowConsumerWarningHiWaterMark()

float blpapi_SessionOptions_slowConsumerWarningHiWaterMark ( blpapi_SessionOptions_t parameters)

◆ blpapi_SessionOptions_slowConsumerWarningLoWaterMark()

float blpapi_SessionOptions_slowConsumerWarningLoWaterMark ( blpapi_SessionOptions_t parameters)