Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Feb 2009
    Location
    Pyrmont
    Posts
    4

    Data Provider Protocol Method Tags

    I have been using the ARI specifications to create a Remote Java Data Provider for Lightstreamer (based around the DotNetAdapter). Everything seems to work well when I send an update by Map but the updates don't make it to the client when I update by Item Event.

    As far as I can tell the only difference in the message being sent to Lightstreamer is the UD2 method tag for ItemEvents and UD3 for Maps:

    1231052165724|UD2|S|itemtest|S|10000011fca8dcc88|B|0|S|Last|S|lastV alue|S|Next|S|nextValue|S|Now|S|currentValue

    1231052165724|UD3|S|itemtest|S|10000011fca8dcc88|B|0|S|Last|S|lastV alue|S|Next|S|nextValue|S|Now|S|currentValue

    Maybe I am doing something wrong? I can't find any details about update by Event/IndexedEvent in the documentation. Can you provide an example of the message format for each or maybe a link to some documentation?

    Are there any benefits using an ItemEvent over a Map?

    Thanks

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,089
    I can't find any reason why the UD2 method shouldn't work.
    If you had just replicated the message, as in the snippet shown, so that two identical messages were sent, then you might have received only one update to the client because of filtering, if MERGE mode was used.

    Anyway, updates by Event and IndexedEvent are no longer documented since ARI version 1.1 build 22, because, in fact, they offer no advantage over the UD3 method
    (though they are still recognized by the Proxy Adapter).

 

 

Similar Threads

  1. Single data provider and multiple data sources
    By pluczak in forum Adapter SDKs
    Replies: 1
    Last Post: April 26th, 2012, 11:50 AM
  2. Misconfigured Vivace / Delayed Updates with Data Provider
    By exchangepulse in forum Adapter SDKs
    Replies: 5
    Last Post: October 28th, 2009, 06:41 PM
  3. Replies: 4
    Last Post: August 14th, 2009, 04:28 AM
  4. Data Provider question
    By yanhu in forum Adapter SDKs
    Replies: 1
    Last Post: July 25th, 2007, 02:07 AM
  5. Data Adapter's subscribe() method not getting called
    By CitiMan in forum Adapter SDKs
    Replies: 8
    Last Post: November 30th, 2006, 05:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 06:07 AM.