Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

Resuming a stream in Smack 4.1

$
0
0

Hi,

 

I've been working on an IM Client for android which was using aSmack back then but have already managed to update it to Smack 4.1 release version.

 

I have managed to enable Stream Management by using:

 

XMPPTCPConnection.setUseStreamManagementDefault(true);

 

Now, SM seems to work fine when 'cleanly' disconnecting from the connection by manually triggering:

XMPPTCPConnection.disconnect();

 

since the messages sent on the disconnected client were retrieved whenever it goes connected again.

 

Now, I would just like to ask on how will the handling be when the client got 'unclean' disconnection from the WiFi / GSM? (i.e Turning off/on the WiFi)

 

Any thoughts would be appreciated,

 

Thanks!


Viewing all articles
Browse latest Browse all 4979

Trending Articles