Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Dec 2008
    Location
    Johannesburg
    Posts
    2

    .net version for messenger

    Hi There,

    Is there a .net dataadapter available for the messenger sample?

    Regards,
    Jean Erasmus

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    517
    Hi Jean,

    Unfortunately not. Only the Java example source code is currently provided.

    Regards,
    Alessandro

  3. #3
    Member
    Join Date
    Dec 2008
    Location
    Johannesburg
    Posts
    2
    Hi There,

    Is a port possible? I dont see the following class/interface in the .net libraries, SmartDataProvider

    Regards,
    Jean Erasmus

  4. #4
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    973
    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

  1. JVM version
    By Waddy in forum General
    Replies: 3
    Last Post: March 12th, 2013, 08:53 AM
  2. JVM version
    By rmoura in forum General
    Replies: 1
    Last Post: September 28th, 2010, 11:17 AM
  3. Known issues in version 4.4
    By DarioCrivelli in forum Client APIs
    Replies: 1
    Last Post: April 6th, 2010, 11:12 AM
  4. Replies: 1
    Last Post: April 26th, 2007, 01:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 03:03 PM.