net.jxta.search.peer
Interface QueryResponseCallback
- public interface QueryResponseCallback
A callback interface used in conjunction with a RouterClient
Method Summary |
void |
onException(java.lang.String uuid,
java.lang.Exception e)
Called when an exception occurs during the processing of query with
specified uuid. |
void |
onQueryResults(java.lang.String uuid,
org.w3c.dom.Document results)
Called when a query response arrives for the given query uuid. |
onQueryResults
public void onQueryResults(java.lang.String uuid,
org.w3c.dom.Document results)
- Called when a query response arrives for the given query uuid.
onException
public void onException(java.lang.String uuid,
java.lang.Exception e)
- Called when an exception occurs during the processing of query with
specified uuid.