BLPAPI C++  3.24.11
Component blpapi_zfputil

Automatic creation of SessionOptions for Zero Footprint solution. More...

Namespaces

 BloombergLP
 
 BloombergLP::blpapi
 

Classes

class  ZfpUtil
 

Detailed Description

Automatic creation of SessionOptions for Zero Footprint solution.

Purpose:
Automatic creation of SessionOptions for Zero Footprint solution clients that leverage private leased lines to the Bloomberg network.
Classes:
blpapi::ZfpUtil Wrapper for Zero Footprint utilities
See also
Component blpapi_sessionoptions Component blpapi_tlsoptions
Description:
The utilities provided in this component are designed for the Zero Footprint solution for BLPAPI.
Usage:
The following snippet shows how to use a ZfpUtil method for starting a Session when using leased lines.
blpapi::TlsOptions tlsOptions
= blpapi::TlsOptions::createFromFiles( ... );
blpapi::SessionOptions opts = blpapi::ZfpUtil::getZfpOptionsForLeasedLines(
blpapi::ZfpUtil::REMOTE_8194, tlsOptions);
opts.setAuthorizationOptions( ... );
blpapi::Session session = blpapi::Session(opts);
session.start();

Note that the resulting SessionOptions can be used in multiple sessions, so this operation only needs to be called once per application