public class CustomHandlerRegistry extends Object
| Constructor and Description |
|---|
CustomHandlerRegistry() |
| Modifier and Type | Method and Description |
|---|---|
Response |
handle(BitControl.CustomMessage message,
DrillBuf dBody) |
<REQUEST,RESPONSE> |
registerCustomHandler(int messageTypeId,
Controller.CustomMessageHandler<REQUEST,RESPONSE> handler,
Controller.CustomSerDe<REQUEST> requestSerde,
Controller.CustomSerDe<RESPONSE> responseSerde) |
void |
setEndpoint(CoordinationProtos.DrillbitEndpoint endpoint) |
public void setEndpoint(CoordinationProtos.DrillbitEndpoint endpoint)
public <REQUEST,RESPONSE> void registerCustomHandler(int messageTypeId,
Controller.CustomMessageHandler<REQUEST,RESPONSE> handler,
Controller.CustomSerDe<REQUEST> requestSerde,
Controller.CustomSerDe<RESPONSE> responseSerde)
public Response handle(BitControl.CustomMessage message, DrillBuf dBody) throws RpcException
RpcExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.