public method IO2GResponseListener.onRequestFailed
Brief
Processes notification about a request failure.
Declaration | ||||
|
Parameters | |
requestId |
The identifier of the failed request. A session object may send multiple requests
(see IO2GSession.sendRequest method).
The method receives notifications of all the requests that have failed. To make sure you are getting notification
about a particular request, you must check if the value of this parameter matches the value obtained by calling
|
error |
The server error message. For the list of errors that may be generated during an order processing, refer to the Order Execution Errors section. |
Details
In order to process a notification about a request failure, an instance of the class implementing the IO2GResponseListener interface
must be subscribed to a session object.
It is accomplished by calling the O2GSession
.subscribeResponse
method.
Example
Proccess notification about a request to get open positions [hide]
Declared in IO2GResponseListener