class IO2GSession
Parents | |
IAddRef |
Brief
A session object.
Details
A session is an object which can be connected to the trade server. Only one connection can be established from one session object, but multiple connections can be created at the same time.
Use the CO2GTransport
::createSession
method to get a session instance.
Public Methods | |
Gets the rules used for the currently established session. |
|
Gets the current price update mode. |
|
Gets the URL for receiving the combo account statement report. |
|
Gets an instance of the request factory. |
|
Gets an instance of the response reader factory. |
|
Gets the current server time. |
|
Gets current session status. |
|
Gets an instance of the table manager. |
|
Gets an instance of the table manager for specific account. |
|
Gets an instance of the date/time converter. |
|
Returns the list of trading station descriptors. |
|
Starts the connection with the specified trade server. |
|
Starts to close the existing connection with the trade server. |
|
Sends a request to the trade server. |
|
Sets the price update mode. |
|
Sets the trading session if a trading session is requested. |
|
Subscribes the session response listener. |
|
Subscribes a session status listener. |
|
Unsubscribes a response listener. |
|
Unsubscribes a session status listener. |
|
Defines usage of the table manager. |