Results 1 to 6 of 6

Hybrid View

  1. #1
    Senior Member
    Join Date
    Nov 2006
    Location
    Riyadh
    Posts
    33
    Actually I am reusing the same Map instance (fieldValues) but the String fields inside are actually updated:

    listener.update(itemID, fieldValues, isSnapshot);

    Is this what you are reffering to ?

    R

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    yes,
    the Map instance may be kept by Lightstreamer for some time after the "update" call has returned;
    therefore, reusing the Map instance by the Data Adapter is not supported.
    You need to change this part of the Adapter code and create a new Map instance for each "update" call.
    Note, however, that
    as long as you process the item in MERGE mode,
    the Map to be passed to the "update" method only needs to contain the changed fields.

    Dario

 

 

Similar Threads

  1. Replies: 1
    Last Post: June 23rd, 2011, 10:10 AM
  2. Client Server Disconnection Notification
    By vaduganathan in forum Adapter SDKs
    Replies: 1
    Last Post: May 28th, 2010, 09:34 AM
  3. onSubscribe-Notification
    By lstest in forum Client SDKs
    Replies: 1
    Last Post: April 28th, 2009, 09:21 AM
  4. Dojo 0.9 Update
    By rakeshxp in forum Client SDKs
    Replies: 1
    Last Post: August 27th, 2007, 11:42 AM
  5. order by update
    By jamesclinton in forum Client SDKs
    Replies: 1
    Last Post: March 12th, 2007, 04:54 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 11:23 AM.