Results 1 to 2 of 2
  1. #1

    void subscribe(java.lang.String itemName, boolean needsIterator) being called...

    Hello we are encountering a scenarios where the JS client is calling a subscribe set in command mode. The subscribe on the Java Adapter is our SmartDataProvider's void subscribe(java.lang.String itemName,boolean needsIterator)... which is "never called in this case".


    Thoughts?

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,090
    The SmartDataProvider interface overloads the subscribe(java.lang.String itemName,boolean needsIterator) it inherits from DataProvider with a 3-argument version.
    When a SmartDataProvider is supplied, the Server only invokes the 3-argument version and never the 2-argument version.
    So, we expect that the extended 3-argument version is invoked.
    Can you confirm?

 

 

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 08:13 PM.