Class XMPPClientResponseManager
- java.lang.Object
-
- org.apache.axis2.transport.xmpp.util.XMPPClientResponseManager
-
- All Implemented Interfaces:
org.jivesoftware.smack.PacketListener
public class XMPPClientResponseManager extends Object implements org.jivesoftware.smack.PacketListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
XMPPClientResponseManager.WaitingDetails
-
Constructor Summary
Constructors Constructor Description XMPPClientResponseManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
listenForResponse(String key, MessageContext messageContext)
void
processPacket(org.jivesoftware.smack.packet.Packet packet)
This method will be triggered, when a message is arrived at client sidevoid
waitFor(String key)
Indicates response message is received at client side.
-
-
-
Method Detail
-
listenForResponse
public void listenForResponse(String key, MessageContext messageContext)
-
processPacket
public void processPacket(org.jivesoftware.smack.packet.Packet packet)
This method will be triggered, when a message is arrived at client side- Specified by:
processPacket
in interfaceorg.jivesoftware.smack.PacketListener
-
waitFor
public void waitFor(String key) throws InterruptedException
Indicates response message is received at client side.- Throws:
InterruptedException
- See Also:
processPacket(org.jivesoftware.smack.packet.Packet)
-
-