public class QueryResultHandler extends Object
| Constructor and Description |
|---|
QueryResultHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
batchArrived(ConnectionThrottle throttle,
ByteBuf pBody,
ByteBuf dBody)
Maps internal low-level API protocol to
UserResultsListener-level API protocol. |
RpcConnectionHandler<UserClient.UserToBitConnection> |
getWrappedConnectionHandler(RpcConnectionHandler<UserClient.UserToBitConnection> handler) |
RpcOutcomeListener<UserBitShared.QueryId> |
getWrappedListener(UserResultsListener resultsListener) |
void |
resultArrived(ByteBuf pBody)
Maps internal low-level API protocol to
UserResultsListener-level API protocol. |
public RpcOutcomeListener<UserBitShared.QueryId> getWrappedListener(UserResultsListener resultsListener)
public RpcConnectionHandler<UserClient.UserToBitConnection> getWrappedConnectionHandler(RpcConnectionHandler<UserClient.UserToBitConnection> handler)
public void resultArrived(ByteBuf pBody) throws RpcException
UserResultsListener-level API protocol.
handles data result messagesRpcExceptionpublic void batchArrived(ConnectionThrottle throttle, ByteBuf pBody, ByteBuf dBody) throws RpcException
UserResultsListener-level API protocol.
handles query data messagesRpcExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.