class O2GSession
Parents | |
System.IDisposable |
Brief
The session object. The object should be disposed
after disconnecting.
Details
The 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 O2GTransport.createSession
method to get an instance
of the session.
The type defined in the fxcore2.dll
assembly.
The namespace is fxcore2
.
Public Methods | |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Important: always call this function after diconnecting of the session object. |
|
Gets the rules used for the currently established session. |
|
Gets the current price update mode. |
|
Gets an instance of the request factory. |
|
Gets an instance of the response reader factory. |
|
Gets an instance of the date/time converter. |
|
Returns the list of trading station descriptors. |
|
Starts the connection with the specified trade server. |
|
This event occurs when the login procedure is failed. |
|
Starts to close the existing connection with the trade server. |
|
This event occurs when a request is completed. |
|
This event occurs when a request is failed. |
|
Sends a request to the trade server. |
|
This event occurs when the session status is changed. |
|
Sets the price update mode. |
|
Sets the trading session if a trading session is requested. |
|
Subscribes a session response listener. |
|
Subscribes a session status listener. |
|
This event occurs when a table update appears. |
|
Unsubscribes a response listener. |
|
Unsubscribes a session status listener. |