org.apache.pivot.web
Class QueryListener.Adapter<V>

java.lang.Object
  extended by org.apache.pivot.web.QueryListener.Adapter<V>
All Implemented Interfaces:
QueryListener<V>
Enclosing interface:
QueryListener<V>

public static class QueryListener.Adapter<V>
extends Object
implements QueryListener<V>

Query listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.web.QueryListener
QueryListener.Adapter<V>
 
Constructor Summary
QueryListener.Adapter()
           
 
Method Summary
 void connected(Query<V> query)
          Called when a query has connected to the server but the request has not yet been sent.
 void failed(Query<V> query)
          Called when an error has occurred
 void requestSent(Query<V> query)
          Called when the request has been sent to the server but the response has not yet been received.
 void responseReceived(Query<V> query)
          Called when a response has been received from the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryListener.Adapter

public QueryListener.Adapter()
Method Detail

connected

public void connected(Query<V> query)
Description copied from interface: QueryListener
Called when a query has connected to the server but the request has not yet been sent.

Specified by:
connected in interface QueryListener<V>

requestSent

public void requestSent(Query<V> query)
Description copied from interface: QueryListener
Called when the request has been sent to the server but the response has not yet been received.

Specified by:
requestSent in interface QueryListener<V>

responseReceived

public void responseReceived(Query<V> query)
Description copied from interface: QueryListener
Called when a response has been received from the server.

Specified by:
responseReceived in interface QueryListener<V>

failed

public void failed(Query<V> query)
Description copied from interface: QueryListener
Called when an error has occurred

Specified by:
failed in interface QueryListener<V>