Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Rio de Janeiro
    let me ask you something...
    In a stockmarket company (broker) have 5 clients and each client wants to see diferent information in their pages.
    For exemple:
    - client "A" wants to see information from the company "W" and "X".
    - client "B" wants to see information from the company "X" and "Y".
    - client "C" wants to see information from the company "V", "W" and "Y".
    - etc.
    in a max range of 3 companys per page.

    This information of wich companys my clients wants to view is stored in a database that have my client's ids and company's ids.

    How can i show diferent information to diferents clients?
    Is there any way to notify LS when a client start receving data that this connection belongs to client A or B?

    Did you understand wich is my doubt?


  2. #2
    Join Date
    Jul 2006
    Hi Rafael

    The clients can identify themselves through the user credentials, by calling
    setUserName and setPassword.

    This information (the user name in particular) is then made available to the getItems method in the Metadata Adapter, which can transform generic "item groups" requests issued by the clients into specific item requests on a user basis.
    This is not supported by the default Metadata Adapter and requires that you implement you own Metadata Adapter code.

    Note, however, that if different clients also need to see pages of different shape (i.e. with a different number of tables shown), then some client side elaboration is needed and this is not provided by Lightstreamer Web Client Library.




Similar Threads

  1. Get data specific to each User by passing parameters
    By leonardodar in forum Adapter APIs
    Replies: 3
    Last Post: March 16th, 2011, 10:45 AM
  2. Replies: 2
    Last Post: February 9th, 2010, 03:50 PM
  3. User specific data example
    By zeos in forum Adapter APIs
    Replies: 1
    Last Post: January 28th, 2010, 10:41 AM
  4. General data and User specific data
    By mnenchev in forum Adapter APIs
    Replies: 5
    Last Post: September 1st, 2009, 10:36 AM
  5. User Specific Response
    By vishnugs in forum General
    Replies: 4
    Last Post: April 6th, 2007, 12:06 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
All times are GMT +1. The time now is 06:26 AM.