Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

broadcast
 Post subject: broadcast Post rating: 0   New post Posted: Sun 16 Oct, 2011, 12:51 

User rating: 0
Joined: Thu 06 Oct, 2011, 13:18
Posts: 3
Location: HU
Dear Support,

I try to broadcasting but if I compile the example file from https://www.dukascopy.com/wiki/index.php?title=Broadcast_message
I receive the followint error:
2011-10-16 11:56:47 The method broadcast(String, String) is undefined for the type IEngine
2011-10-16 11:56:47 ^^^^^^^^^
2011-10-16 11:56:47 engine.broadcast(name, "Broadcast Client 1 " + String.valueOf(System.currentTimeMillis()));
2011-10-16 11:56:47 2. ERROR in C:\DOCUME~1\Lega\LOCALS~1\Temp\jfxide\tmp\BroadcastStrategy.java (at line 44)
2011-10-16 11:56:47 ----------
2011-10-16 11:56:47 IStrategyBroadcastMessage cannot be resolved to a type
2011-10-16 11:56:47 ^^^^^^^^^^^^^^^^^^^^^^^^^
2011-10-16 11:56:47 if (message instanceof IStrategyBroadcastMessage) {
2011-10-16 11:56:47 1. ERROR in C:\DOCUME~1\Lega\LOCALS~1\Temp\jfxide\tmp\BroadcastStrategy.java (at line 30)
2011-10-16 11:56:47 ----------

Could you pls help to solve?

Thank you
Gábor


 
 Post subject: Re: broadcast Post rating: 0   New post Posted: Tue 18 Oct, 2011, 09:46 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We did not manage to reproduce the behavior. What version of JForex API are you using? Do you launch the strategy from JForex client or from Standalone API?


 
 Post subject: Re: broadcast Post rating: 0   New post Posted: Tue 18 Oct, 2011, 10:01 

User rating: 0
Joined: Thu 06 Oct, 2011, 13:18
Posts: 3
Location: HU
I launched from JForex Client. Version of the platform 2.6.33


 
 Post subject: Re: broadcast Post rating: 0   New post Posted: Tue 18 Oct, 2011, 10:21 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please be advised that the feature is available starting with JForex API version 2.6.38 - the current version of JForex DEMO client.


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com