-
February 22nd, 2011, 06:49 AM
#1
.net version for messenger
Hi There,
Is there a .net dataadapter available for the messenger sample?
Regards,
Jean Erasmus
-
February 22nd, 2011, 11:18 AM
#2
Hi Jean,
Unfortunately not. Only the Java example source code is currently provided.
Regards,
Alessandro
-
February 22nd, 2011, 02:08 PM
#3
Hi There,
Is a port possible? I dont see the following class/interface in the .net libraries, SmartDataProvider
Regards,
Jean Erasmus
-
February 23rd, 2011, 09:22 AM
#4
SmartDataProvider was not ported to the .NET interface because it is just an alternative to DataProvider that allows for performance improvements that are only possible for the in-process java Adapters.
The notes below apply to the java version of the messenger adapter.
After the described changes, the code should be ready for a natural porting to LS .NET library interface.
The Data Adapter can implement the DataProvider interface as well.
This affects the subscribe method, which will lack the "Object handle" argument (hence, the method will replace the dummy overload at the bottom).
You should use the "item" argument anywhere the "handle" argument is used;
in particular, you cannot store a "Object listHandle", but you could store a "String listName" in place of it, for instance.
As a last consequence, the smartUpdate / smartEndOfSnapshot calls should be replaced with update / endOfSnapshot, which are based on the item name.
Similar Threads
-
By Waddy in forum General
Replies: 3
Last Post: March 12th, 2013, 08:53 AM
-
By rmoura in forum General
Replies: 1
Last Post: September 28th, 2010, 11:17 AM
-
By DarioCrivelli in forum Client SDKs
Replies: 1
Last Post: April 6th, 2010, 11:12 AM
-
By wmolde in forum Adapter SDKs
Replies: 1
Last Post: April 26th, 2007, 01:36 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 04:45 AM.
Bookmarks