Results 1 to 7 of 7

Hybrid View

  1. #1
    Hello Dario,

    Thanks for your detailed anwser.

    That's right; I did not paid attention to it but the onPolling method of my PushStatusListener was indeed called whereas the onStreaming method is usually called.

    The algorithm you are talking about, isn't it the feature called Stream-sense in the Javadoc?
    If I disable it like in the following code, shouldn't the streaming always be chosen, even for a reconnection?
    Code:
    LSProxy lSProxy = new LSProxy(...);
    ConnectionInfo connectionInfo = new ConnectionInfo();
    connectionInfo.enableStreamSense = false;
    lSProxy.startPushConnection(connectionInfo);

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Hi,

    You are right; indeed there is also this option.
    If you are confident that HTTP streaming is supported by the client environment, you can also enforce that all connection attempt will be in HTTP streaming by suppressing the Stream-sense.

    By the way, let me remark that the brand new Java client library that is going to replace the current one has been released as a beta.
    So, we suggest you considering and preparing a port, also because we are confident that the new interface is more handy and more powerful. See the relevant information here.

  3. #3
    Hello Dario,

    Thanks for the confirmation.

    Will this new API be compatible with servers in version 5.1.2?
    It is stated here that it is currently "compatible with Server since 6.0.1".

  4. #4
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Yes, I confirm that a Server upgrade is needed and there are no plans to make the new library backward-compatible.
    If you are concerned about upgrading to Server 6, consider that we have made available an online tool to assist the porting task, as explained in the release notes.

  5. #5
    Hello Dario,

    Thanks for your precisions.

 

 

Similar Threads

  1. itemUpdate.getNewValue throws strange exception
    By mnenchev in forum Client SDKs
    Replies: 1
    Last Post: October 28th, 2010, 09:36 AM
  2. Strange Error on item update
    By mnenchev in forum Client SDKs
    Replies: 10
    Last Post: March 19th, 2010, 08:57 AM
  3. Browser Popup Focus Behaviour on Safari (on Mac)
    By ctranfd in forum Client SDKs
    Replies: 3
    Last Post: August 31st, 2009, 08:07 AM
  4. Replies: 1
    Last Post: May 21st, 2009, 09:41 AM
  5. Strange FireFox error
    By jameswolfe in forum Client SDKs
    Replies: 5
    Last Post: August 27th, 2007, 01:24 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 11:14 PM.