Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2009
    Location
    Noida
    Posts
    26

    Incremental fields subscription

    Hello,

    After subscribing an item with some fields (assume three fields), Is there a way to subscribe 4th field without unsubscribe and then re-subscribe?
    Pradeep Kr Chahal
    Software Designer
    Expertise in implementing Market Interface, Push technology, Publish-Subscribe Architecture
    pkumar.chahal@gmail.com
    http://www.pradeepchahal.com

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    sorry but are you talking from a client or from the adapter point of view?

    From the adapter point of view, keep in mind that Lightstreamer kernel never knows how many fields the adapter can provide. Ideally the adapter should always send all the available fields to Lightstreamer kernel, btw you can add a field to the update flow whenever you want.
    Please remember that the adapter's subscribe call for a certain item is issued only when the first client subscribes to that item, and the unsubscribe is called when the last client unsubscribes from it.


    from a client point of view there is no way to change the schema of a table; you have to unsubscribe your table and resubscribe a table with a different schema.

    HTH

 

 

Similar Threads

  1. Replies: 2
    Last Post: June 7th, 2012, 01:49 PM
  2. Replies: 1
    Last Post: May 25th, 2012, 09:03 AM
  3. Incremental fields subscription
    By Pradeep Chahal in forum Client APIs
    Replies: 1
    Last Post: February 2nd, 2010, 10:11 AM
  4. Feeding LS with less number of fields as expected by LS
    By Pradeep Chahal in forum Adapter APIs
    Replies: 1
    Last Post: November 6th, 2009, 08:28 AM
  5. How to Get all updated fields in one attempt?
    By indrajit in forum Client APIs
    Replies: 3
    Last Post: March 3rd, 2008, 08:59 AM

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 05:37 AM.