-
January 16th, 2007, 08:43 AM
#1
Yes of course,
all you have to do is to implement your own MetaDataprovider (maybe extending an existing one) instead of using the LiteralBasedProvider.
-
January 17th, 2007, 05:08 PM
#2
I was looking FileBasedProvider.java 's code and it extends LiteralBasedProvider
If i want to implement my own MetaDataProvider, i must do the same? Extends .NET's LiteralBasedProvider? Or i just need to extends MetadataProviderAdapter class?
Can i have more then one "Stream Source" (i don't know the real name... ) in tha same page? For exemple, quotes of a stocklist is one "Stream Source". Can i have another "Stream Source", News, for exemple?
-
January 17th, 2007, 06:54 PM
#3
In order to write your own Metadata Adapter, you can choose among a number of options:
- directly implement the MetadataProvider interface
- extend the MetadataProviderAdapter class (which implements the MetadataProvider interface)
- extend the LiteralBasedProvider or FilelBasedProvider classes (which extend the MetadataProviderAdapter class)
It's all a matter of hierarchy and inheritance.
Regarding having multiple data sources, if they are destined to deliver data to different client sessions, then you can plug multiple Data Adapters into Lightstreamer Server. On the other hand, if you need to deliver the data coming from different data sources to the same client session, then you need to write a single Data Adapter that accesses all of the feeds. Mixing different Data Adapters in the same client session is not supported yet.
-
February 2nd, 2007, 05:29 PM
#4
Similar Threads
-
By leonardodar in forum Adapter SDKs
Replies: 3
Last Post: March 16th, 2011, 09:45 AM
-
By shayzweig in forum Client SDKs
Replies: 2
Last Post: February 9th, 2010, 02:50 PM
-
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 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 07:08 AM.
Bookmarks