Results 1 to 9 of 9

Hybrid View

  1. #1
    Member
    Join Date
    Nov 2006
    Location
    Rio de Janeiro
    Posts
    13
    Hi...
    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?
    thanks!!!

    Rafael

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    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.

    Dario

 

 

Similar Threads

  1. Get data specific to each User by passing parameters
    By leonardodar in forum Adapter SDKs
    Replies: 3
    Last Post: March 16th, 2011, 09:45 AM
  2. Replies: 2
    Last Post: February 9th, 2010, 02:50 PM
  3. User specific data example
    By zeos in forum Adapter SDKs
    Replies: 1
    Last Post: January 28th, 2010, 09:41 AM
  4. General data and User specific data
    By mnenchev in forum Adapter SDKs
    Replies: 5
    Last Post: September 1st, 2009, 09:36 AM
  5. User Specific Response
    By vishnugs in forum General
    Replies: 4
    Last Post: April 6th, 2007, 11:06 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 11:28 AM.