-
February 11th, 2009, 02:16 AM
#3
Understanding the itemHandle in the SmartDataProvider
Hi
I’m new to Lightstreamer and have been experimenting with the Adapter Remoting Infrastructure Spec using Java over TCP Sockets.
I was hoping that someone could explain in more detail the value of the itemHandle Object in the SmartDataProvider.
I understand that this is normally provided by the Lightstreamer Kernel but in order to replicate this logic in a remote data provider server I would like to find out more about it. I modified the sample HelloworldDataAdapter to log the value of the itemHandle but I only get the memory address of some obfuscated Lightstreamer object (com.lightstreamer.i.p@61a907).
I noticed in the javadoc for the SmartDataProvider interface that Lightstreamer always supplies different handles across subsequent subscriptions of the same item, could this be as simple as using an incremented Integer?
If anyone could provide some insight into what this object is/should be it would be most appreciated.
Thanks
Similar Threads
-
By pluczak in forum Adapter SDKs
Replies: 5
Last Post: April 16th, 2018, 04:26 PM
-
By rmusco in forum General
Replies: 5
Last Post: January 4th, 2013, 12:38 AM
-
By achittoda in forum Adapter SDKs
Replies: 1
Last Post: December 22nd, 2009, 09:15 AM
-
By quanhm in forum General
Replies: 1
Last Post: May 19th, 2008, 09:48 AM
-
By gavenb in forum Adapter SDKs
Replies: 1
Last Post: September 20th, 2006, 10:10 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 10:05 PM.
Bookmarks