Class CustomHandlerRegistry
java.lang.Object
org.apache.drill.exec.rpc.control.CustomHandlerRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhandle
(BitControl.CustomMessage message, DrillBuf dBody) <REQUEST,
RESPONSE>
voidregisterCustomHandler
(int messageTypeId, Controller.CustomMessageHandler<REQUEST, RESPONSE> handler, Controller.CustomSerDe<REQUEST> requestSerde, Controller.CustomSerDe<RESPONSE> responseSerde) void
-
Constructor Details
-
CustomHandlerRegistry
public CustomHandlerRegistry()
-
-
Method Details
-
setEndpoint
-
registerCustomHandler
public <REQUEST,RESPONSE> void registerCustomHandler(int messageTypeId, Controller.CustomMessageHandler<REQUEST, RESPONSE> handler, Controller.CustomSerDe<REQUEST> requestSerde, Controller.CustomSerDe<RESPONSE> responseSerde) -
handle
- Throws:
RpcException
-