public interface UserResultsListener
| Modifier and Type | Method and Description |
|---|---|
void |
dataArrived(QueryDataBatch result,
ConnectionThrottle throttle)
A
QueryData message was received |
void |
queryCompleted(UserBitShared.QueryResult.QueryState state)
The query has completed (successsful completion or cancellation).
|
void |
queryIdArrived(UserBitShared.QueryId queryId)
QueryId is available.
|
void |
submissionFailed(UserException ex)
The query has failed.
|
void queryIdArrived(UserBitShared.QueryId queryId)
queryId - sent by the server along Acks.OKvoid submissionFailed(UserException ex)
dataArrived() throws an exceptionex - exception describing the cause of the failurevoid dataArrived(QueryDataBatch result, ConnectionThrottle throttle)
QueryData message was receivedresult - data batch receivedthrottle - connection throttlevoid queryCompleted(UserBitShared.QueryResult.QueryState state)
state - Copyright © 2017 The Apache Software Foundation. All rights reserved.