Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
huanghucheng #1
Member since Sep 2011 · 8 posts
Group memberships: Members
Show profile · Link to this post
Subject: Does Agsxmpp hav Heartbeat mechanism?
hello,Alex,Does Agsxmpp have Heartbeat mechanism?It is that when the client disconnect the server,the client can auto connect the server?
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
no, you have to implement the auto reconnect logic on your own.

Alex
Avatar
huanghucheng #3
Member since Sep 2011 · 8 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #1
But how do I know that the connection's state is disconnected ? and which the XmppConnection event will happen? thanks!
Avatar
huanghucheng #4
Member since Sep 2011 · 8 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #2
But how do I know that the connection's state is disconnected ? and which the XmppConnection event will happen? thanks!
Avatar
Alex #5
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
The OnClose event will fire when you get disconnected.
Avatar
huanghucheng #6
Member since Sep 2011 · 8 posts
Group memberships: Members
Show profile · Link to this post
Subject: using same jid to login
hi,Alex,thank you very munch!!
I have another question about using same jid to login,then which  XmppConnection event will it fire?
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS