tigase.jaxmpp.core.client.xmpp.modules.pubsub
Class PubSubAsyncCallback

java.lang.Object
  extended by tigase.jaxmpp.core.client.xmpp.modules.pubsub.PubSubAsyncCallback
All Implemented Interfaces:
AsyncCallback
Direct Known Subclasses:
PubSubModule.PublishAsyncCallback, PubSubModule.RetrieveItemsAsyncCallback, PubSubModule.SubscriptionAsyncCallback, PubSubModule.SubscriptionOptionsAsyncCallback

public abstract class PubSubAsyncCallback
extends Object
implements AsyncCallback


Field Summary
protected  Logger log
           
 
Constructor Summary
PubSubAsyncCallback()
           
 
Method Summary
protected abstract  void onEror(IQ response, XMPPException.ErrorCondition errorCondition, PubSubErrorCondition pubSubErrorCondition)
           
 void onError(Stanza responseStanza, XMPPException.ErrorCondition errorCondition)
          Called when received response has type error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface tigase.jaxmpp.core.client.AsyncCallback
onSuccess, onTimeout
 

Field Detail

log

protected Logger log
Constructor Detail

PubSubAsyncCallback

public PubSubAsyncCallback()
Method Detail

onEror

protected abstract void onEror(IQ response,
                               XMPPException.ErrorCondition errorCondition,
                               PubSubErrorCondition pubSubErrorCondition)
                        throws JaxmppException
Throws:
JaxmppException

onError

public final void onError(Stanza responseStanza,
                          XMPPException.ErrorCondition errorCondition)
                   throws JaxmppException
Description copied from interface: AsyncCallback
Called when received response has type error.

Specified by:
onError in interface AsyncCallback
Parameters:
responseStanza - received IQ stanza
errorCondition - error condition
Throws:
JaxmppException


Copyright © 2006-2012 Tigase. All Rights Reserved.