Whack

org.jivesoftware.whack
Interface IQResultListener


public interface IQResultListener

An IQResultListener will be invoked when a previously IQ packet sent by the server was answered.

Author:
Gaston Dombiak

Method Summary
 void answerTimeout(String packetId)
          Notification method indicating that a predefined time has passed without receiving answer to a previously sent IQ packet.
 void receivedAnswer(org.xmpp.packet.IQ packet)
          Notification method indicating that a previously sent IQ packet has been answered.
 

Method Detail

receivedAnswer

void receivedAnswer(org.xmpp.packet.IQ packet)
Notification method indicating that a previously sent IQ packet has been answered. The received IQ packet might be of type ERROR or RESULT.

Parameters:
packet - the IQ packet answering a previously sent IQ packet.

answerTimeout

void answerTimeout(String packetId)
Notification method indicating that a predefined time has passed without receiving answer to a previously sent IQ packet.

Parameters:
packetId - The packet id of a previously sent IQ packet that wasn't answered.

Whack

Copyright © 2003-2008 Jive Software.