-
April 2nd, 2007, 07:01 AM
#1
User Specific Response
Hi Guys,
In the first place, my congratulations for giving us access to the bleeding edge of technologies with your framework.
We are planning to use LightstreamerPush for a messaging kind of application. So there will be many connected users and every user will have the option of sending data to other online users. The client application will be mostly in PHP along with Dojo. Will use PHPMQ to communicate to Push Server adapter.
So my understanding so far on pieces of code we should be implementing (pls correct me if I am wrong) -
DataProvider - The implementation that will manage all users and receive their messages.
JMSAdapter - The implementation that will receive messages over JMS for DataProvider
MetaDataProvider - The implementation that will use the username, password info in getItems function to provide user specific handling.
My doubt with MetaDataProvider, I saw both your implementations, basically getItems
is called only once when loading the dataprovider for the user and not every time the data is sent to the user.
How do I implement user specific behavior, basically I need to push messages to him only when it is intended for him. Stating it differently, I need to receive all messages and see if a user has subscribed for the particular username, if so I need to push the message to him. In which function and class should I keep the code for this functionality.
Thanks in advance,
Vishnu
Similar Threads
-
By leonardodar in forum Adapter SDKs
Replies: 3
Last Post: March 16th, 2011, 09:45 AM
-
By zeos in forum Adapter SDKs
Replies: 1
Last Post: January 28th, 2010, 09:41 AM
-
By mnenchev in forum Adapter SDKs
Replies: 5
Last Post: September 1st, 2009, 09:36 AM
-
By sundaramlaxman in forum Client SDKs
Replies: 4
Last Post: February 21st, 2007, 02:11 PM
-
By rmusco in forum General
Replies: 8
Last Post: February 2nd, 2007, 05:29 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
-
Forum Rules
All times are GMT +1. The time now is 03:20 PM.
Bookmarks