public class BOSHPacketReader
extends java.lang.Object
implements org.igniterealtime.jbosh.BOSHClientResponseListener
Constructor and Description |
---|
BOSHPacketReader(XMPPBOSHConnection connection)
Create a packet reader which listen on a BOSHConnection for received
HTTP responses, parse the packets and notifies the connection.
|
Modifier and Type | Method and Description |
---|---|
void |
responseReceived(org.igniterealtime.jbosh.BOSHMessageEvent event)
Parse the received packets and notify the corresponding connection.
|
public BOSHPacketReader(XMPPBOSHConnection connection)
connection
- the corresponding connection for the received packets.public void responseReceived(org.igniterealtime.jbosh.BOSHMessageEvent event)
responseReceived
in interface org.igniterealtime.jbosh.BOSHClientResponseListener
event
- the BOSH client response which includes the received packet.