Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Delayed (A)SMACK BOSH Messages

$
0
0

Hey I'm currently developing a XMPP over BOSH client in Java on Android,

i use asmack for android 0.8.9. The client communicates with a openfire server.

 

I do the following steps:

 

1.  Create BOSH Connection instance;

2.  BOSHConnection.connect ...

3.  BOSHConnection.login ...

4.  BOSHConnection.getRoster ...

5.  Getting some stuff with multiple BOSHConnection.sendMessage and a registered packet listener;

 

 

The problem is getting a part of the answers to the Messages in step 5.

 

 

After a part of the answer packets sending and receiving packets works very slow,

the client waits now until the heartbeat message below arrives (the message arrives once a minute) and sends the next request then.

 

RCV :

<body xmlns="http://jabber.org/protocol/httpbind"></body>


Viewing all articles
Browse latest Browse all 10742

Trending Articles