Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Reliability of connection state-change notifications (onMessage) http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=81&t=47178 |
Page 1 of 1 |
Author: | SFXbernhard [ Sat 21 Apr, 2012, 20:09 ] |
Post subject: | Reliability of connection state-change notifications (onMessage) |
API Support wrote: Hi, If you need to monitor the platform connection in your strategy, you can use the CONNECTION_STATUS message. Please take a look at the following JForex Wiki page: http://www.dukascopy.com/wiki/index.php ... connecting. It would be nicer to get the status itself: something like CONNECTED or DISCONNECTED |
Author: | SFXbernhard [ Fri 01 Apr, 2022, 00:18 ] |
Post subject: | Re: Reliability of connection state-change notifications (onMessage) |
It is possible to check by getContent() if (message.getType() == IMessage.Type.CONNECTION_STATUS){ |
Page 1 of 1 |