Results 1 to 4 of 4

Thread: Push to Zimlet

  1. #1
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default Push to Zimlet

    Is there any way to write a Zimlet that can receive push events and force a popup window ? I understand that Ajx.RPC could be used for polling but I am looking for a way to push messages into a Zimlet.

  2. #2
    Join Date
    Oct 2009
    Location
    Tokyo
    Posts
    113
    Rep Power
    6

    Default

    Hi uxbod,

    I think that the zimlet you are working on is pretty much interesting!!

    But I think it is difficult to "push" messages into a Zimlet on Web Browser with HTTP.
    The only way I think of is long polling, which is already used in Zimbra with Asynchronous Ajx.RPC and Jetty Continuation for NoOP request.

    Other than that, WebSocket could be the one, but this is just a guess because I have never tried to implement it myself.

  3. #3
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Thank for the reply; what I do wonder though is how the Instant Message client within ZWC as surely that must receive push events, unless that to is constantly polling ?

  4. #4
    Join Date
    Oct 2009
    Location
    Tokyo
    Posts
    113
    Rep Power
    6

    Default

    That case, the blog entry below would be helpful for you:

    New Adventures in Comet: polling, long polling or Http streaming with AJAX. Which one to choose? 6312

    From my understanding, NoOp request uses "long polling" in this entry to receive push event.
    I guess that IM client in ZWC must use NoOp or something like that using long polling to receive push event.

Similar Threads

  1. Replies: 6
    Last Post: 03-05-2010, 01:13 AM
  2. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  3. Samba and POSIX undeploy problem
    By catnipper in forum Zimlets
    Replies: 0
    Last Post: 09-02-2009, 11:51 AM
  4. Replies: 5
    Last Post: 01-11-2008, 05:34 AM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 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
  •