-
February 20th, 2007, 08:59 AM
#2
Hi,
Lightstreamer’s paradigm and architecture is specialized for Publish/Subscribe, rather than Request/Response, because it is usually added to an existing application (web-based or thick) that already has an application server that delivers the “pulled” data.
That said, it is possible to use Lightstreamer in a Request/Response fashion through one of the following techniques:
1#
- subscribe to specific items (e.g. profiles, portfolios) [= Request]
- receive the data snapshot [= Response]
- unsubscribe to that item after the snapshot has been received
The Data Adapter will have to retrieve the right data according to the item names (or more precisely
group names).
2#
- subscribe an user-related item
- send requests through sendMessage [= Request]
- receive response on the streaming connection [= Response]
The MetaData Adapter receives messages via notifyUserMessage and communicates with the Data Adapter to send the right response back.
Similar Threads
-
By dalmy in forum Client SDKs
Replies: 3
Last Post: January 27th, 2012, 09:26 AM
-
By PeterHiross in forum Adapter SDKs
Replies: 4
Last Post: December 20th, 2010, 08:36 AM
-
By lstest in forum Adapter SDKs
Replies: 5
Last Post: February 26th, 2010, 02:47 PM
-
By vishnugs in forum General
Replies: 4
Last Post: April 6th, 2007, 11:06 AM
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 06:23 AM.
Bookmarks