public class RouterQueryCallback extends java.lang.Object implements QueryCallback
Constructor and Description |
---|
RouterQueryCallback(long id,
java.lang.String to,
java.lang.String from,
Broker broker) |
Modifier and Type | Method and Description |
---|---|
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) |
java.lang.String |
toString() |
public RouterQueryCallback(long id, java.lang.String to, java.lang.String from, Broker broker)
public void onQueryResult(java.lang.String to, java.lang.String from, java.io.Serializable payload)
onQueryResult
in interface QueryCallback
public void onQueryError(java.lang.String to, java.lang.String from, java.io.Serializable payload, BamError error)
onQueryError
in interface QueryCallback
public java.lang.String toString()
toString
in class java.lang.Object