Dukascopy
 
 
Wiki JStore Search Login

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

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

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

IChart#getAll() returns non-serializable IChartObjects
 Post subject: IChart#getAll() returns non-serializable IChartObjects Post rating: 0   New post Posted: Sun 22 Jun, 2014, 01:20 
User avatar

User rating: 8
Joined: Mon 09 Jun, 2014, 21:07
Posts: 49
Location: Poland, Warsaw
Hi,

In previous versions of API, IChart#getAll() was returning serializable IChartObjects. It does not work like that anymore.

In my specific situation (smartFX Platform), when saving a workspace, serializing IChartObjects was very convenient way for storing and restoring charts and theirs objects between platform sessions. With current API it is not possible to save IChartObjects and I am forced to use January release of the API.

Is there any specific reason you changed the implementation? Is there a possibility you make ChartObjects serializable again?

Best regards,
Grzegorz


 
 Post subject: Re: IChart#getAll() returns non-serializable IChartObjects Post rating: 0   New post Posted: Wed 25 Jun, 2014, 12:18 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
SMARTFX wrote:
Is there any specific reason you changed the implementation?
It became redundant for the platform needs. Serializable was not in the API, thus relying on its presence was not justified.
SMARTFX wrote:
Is there a possibility you make ChartObjects serializable again?
It would impose unnecessary restrictions on our internal implementation. Thus, we don't plan to add the Serializable interface to IChartObject.


 

Jump to:  

cron
  © 1998-2024 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