I did some testing (un/plugging the cable a few times, and re/ starting ./aped) and have a some questions:
Does the time when apeDisconnect fires dependent on 'pollTime'? After just unplugging the cable the client seems to perfectly reconnect, sending receiving looks good. If I kill the aped process and restart, I get a 004 erro. Trying to clearSession and initialize but it says "client.clearSession is not a function" http://www.ape-project.org/docs/client/core/clearsession.html Is this doc up to date with latest git version? For now just to client.load on 004 seems to work. Is that good practice or are there any drawbacks? Thanks for looking into it eni On Jun 9, 3:22 pm, Matija Hiti <[email protected]> wrote: > Hi Eni, > > yesterday Nicolas suggested me to use event listener: > > client.addEvent('apeDisconnect', function() {}) - and this is just what I > needed. > > Thank you both for help. > > Matija > > 2010/6/9 eerne <[email protected]> > > > > > Hi Matija > > > A while ago I wanted to test as well if the server is responding. See > > solution in my last comment > > >http://groups.google.com/group/ape-project/browse_thread/thread/67da6... > > > Maybe there is a more elegant solution that would catch "Aborted". > > Please let me know if you come a cross a better solution. > > > cheers > > eni > > > On Jun 8, 11:30 am, Matija Hiti <[email protected]> wrote: > > > Hi, > > > > I'm looking for a method which would catch unsuccessful APE call on > > client, > > > when there is no response from server (i.e. server down). > > > > Is there anything in the JSF that would catch such event? > > > > Best, > > > Matija > > > -- > > You received this message because you are subscribed to the Google > > Groups "APE Project" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<ape-project%2bunsubscr...@googlegr > > oups.com> > > For more options, visit this group at > >http://groups.google.com/group/ape-project?hl=en > > --- > > APE Project (Ajax Push Engine) > > Official website :http://www.ape-project.org/ > > Git Hub :http://github.com/APE-Project/ -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
