BLPAPI C++  3.24.10
Component blpapi_sessionoptions

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

Namespaces

 BloombergLP
 
 BloombergLP::blpapi
 

Classes

class  SessionOptions
 

Detailed Description

A common interface shared between publish and consumer sessions.

Outline
Purpose:
A common interface shared between publish and consumer sessions.
Classes:
blpapi::SessionOptions user specified options when creating a session.
See also
Component blpapi_abstractsession, Component blpapi_session, Component blpapi_providersession
Description:
This file defines a SessionOptions class which is used to specify various options during session creation.
Usage:
The following snippet shows to use the SessionOptions when creating a Session.
#include <blpapi_session.h>
SessionOptions sessionOptions;
sessionOptions.setServerHost("127.0.0.1");
Session session(sessionOptions);
if (!session.start()) {
std::cout << "Failed to start session." << std::endl;
return;
}