org.granite.client.messaging
Class AllInOneResponseListener

java.lang.Object
  extended by org.granite.client.messaging.AllInOneResponseListener
All Implemented Interfaces:
ResponseListener

public abstract class AllInOneResponseListener
extends Object
implements ResponseListener

Author:
Franck WOLFF

Constructor Summary
AllInOneResponseListener()
           
 
Method Summary
 void onCancelled(CancelledEvent event)
           
abstract  void onEvent(Event event)
           
 void onFailure(FailureEvent event)
           
 void onFault(FaultEvent event)
           
 void onResult(ResultEvent event)
           
 void onTimeout(TimeoutEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllInOneResponseListener

public AllInOneResponseListener()
Method Detail

onEvent

public abstract void onEvent(Event event)

onResult

public void onResult(ResultEvent event)
Specified by:
onResult in interface ResponseListener

onFault

public void onFault(FaultEvent event)
Specified by:
onFault in interface ResponseListener

onFailure

public void onFailure(FailureEvent event)
Specified by:
onFailure in interface ResponseListener

onTimeout

public void onTimeout(TimeoutEvent event)
Specified by:
onTimeout in interface ResponseListener

onCancelled

public void onCancelled(CancelledEvent event)
Specified by:
onCancelled in interface ResponseListener