com.caucho.bam.query
Class AbstractQueryCallback

java.lang.Object
  extended by com.caucho.bam.query.AbstractQueryCallback
All Implemented Interfaces:
QueryCallback

public class AbstractQueryCallback
extends java.lang.Object
implements QueryCallback

callback for a query


Constructor Summary
AbstractQueryCallback()
           
 
Method Summary
 void onQueryError(java.lang.String to, java.lang.String from, java.io.Serializable payload, BamError error)
           
 void onQueryResult(java.lang.String to, java.lang.String from, java.io.Serializable payload)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractQueryCallback

public AbstractQueryCallback()
Method Detail

onQueryResult

public void onQueryResult(java.lang.String to,
                          java.lang.String from,
                          java.io.Serializable payload)
Specified by:
onQueryResult in interface QueryCallback

onQueryError

public void onQueryError(java.lang.String to,
                         java.lang.String from,
                         java.io.Serializable payload,
                         BamError error)
Specified by:
onQueryError in interface QueryCallback