-
September 4th, 2009, 12:08 PM
#1
Hi,
Excuse me for my bad explanation. Every market has unique id and is an item for example USD/EUR is item54 and each item has 3 properties (you call it schema?) that are updated in NonVisualTable, the property names are short_tick, long_tick and ivol.
One client can subscribe to one market at a time for example item54. And client browser will receive ivol messages and one of the others(the criteria which is made by the client as he moves some slider - we discussed this before). As for the backend implementation we create one topic for each market(item) that was added to the subscribed list.
As for my second question, i want when the user moves the slider and the event decides that the client should receive short_ticks i want to send also 1 long_tick per second in order to cover the time of subscribe/unsubscribe (when the user move the slider again).
I some cases i also want to decrease the updates send to the client. Is it possible the client(understand client side) to tell "i want 3 updates for that property per sec"?
-
September 4th, 2009, 01:06 PM
#2
OK, i think i found proper sollution for the first question.
I will have 2*market items one item for short_tick and one for long_tick. I tested the subscribe/unsubscribe and subscription seems to work fast enough, unsubscribtion is a little slow but i don't care about that . In that way i will send only needed data.
-
September 7th, 2009, 11:43 AM
#3
It seems to me that you also solved the second question and no more answers are needed.
I confirm that the only way to dynamically change the frequency of a single item on a single client page is through a resubscription.
If the update frequency were your only concern, the resubscription technique would also allow you to use the same item and subscribe to it with a different frequency limit.
-
September 8th, 2009, 03:07 PM
#4
Similar Threads
-
By bponnappan in forum Adapter SDKs
Replies: 1
Last Post: July 5th, 2012, 09:38 AM
-
By pradeepgamage in forum Adapter SDKs
Replies: 7
Last Post: May 17th, 2012, 09:21 AM
-
By gengliangyu2008 in forum Adapter SDKs
Replies: 5
Last Post: November 26th, 2010, 09:00 AM
-
By naitsir in forum Adapter SDKs
Replies: 13
Last Post: October 14th, 2009, 04:53 PM
-
By jamesclinton in forum Client SDKs
Replies: 2
Last Post: April 16th, 2007, 12:54 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 07:02 AM.
Bookmarks