-
January 15th, 2007, 05:57 PM
#4
Originally Posted by
rmusco
...and send it to clients only the subscribed itens. (that can be all itens as in the LS's exemple)
Is that correct?
Yes
Originally Posted by
rmusco
if i "tell" who is the client or the iten. Otherwise, if nothing is informed, he will subscribe all content sent by Data Adapter.
When you "tell" who is the client and the item.
In fact the getItems method is always called. There is not a default return value, but there are 2 default implementations of this method, one in the LiteralBasedProvider class and the other in the FileBasedProvider (you can find them under LS_HOME/DOCS-SDKs/sdk_adapter_java/examples/Reusable_MetadataAdapters).
The one used with the StockListDemo is the LiteralBasedProvider which getItems implementation splits the received string on spaces and subscribes to the DataAdapter each obtained string as an item.
GetItens method is the one who returns the itens that must be subscribed.
Is that correct?
Yes.
PS: note that there is a similar behaviour for the field names: getSchema
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:22 AM.
Bookmarks