class CO2GTransport

Brief

The class is used to create sessions and to configure the transport parameters.

Details

All methods of the class are static. One does not need to have an instance of the class. The class is the entry point to ForexConnect API. To start working with API, you should create an instance of the IO2Ssssion object. The class provides the factory method for creating this object. Other class methods provide configuration transport parameters for the IO2Ssssion object. These parameters will be used during the next call of the IO2GSession.login method.

Static Public Methods

createSession

Creates a transport session.

getApplicationID

Gets an application id property.

setApplicationID

Sets an application id property.

setCAInfo

Sets the certificate authority to check the server certificate which ForexConnect connects to

setNumberOfReconnections

Sets the number of attempts to reconnect.

setProxy

Configures the proxy server settings.

back