Namespaces

Component blpapi_zfputil
[Package blpapi]

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

Namespaces

namespace  blpapi

Detailed Description

Automatic creation of SessionOptions for Zero Footprint solution.

Outline
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.