Class ControlTunnel.CustomMessageSender
java.lang.Object
org.apache.drill.exec.rpc.ListeningCommand<BitControl.CustomMessage,ControlConnection,BitControl.RpcType,BitControl.CustomMessage>
org.apache.drill.exec.rpc.control.ControlTunnel.CustomMessageSender
- All Implemented Interfaces:
RpcCommand<BitControl.CustomMessage,
,ControlConnection, BitControl.RpcType, BitControl.CustomMessage> RpcConnectionHandler<ControlConnection>
- Enclosing class:
- ControlTunnel
public static class ControlTunnel.CustomMessageSender
extends ListeningCommand<BitControl.CustomMessage,ControlConnection,BitControl.RpcType,BitControl.CustomMessage>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.exec.rpc.RpcConnectionHandler
RpcConnectionHandler.FailureType
-
Constructor Summary
ConstructorDescriptionCustomMessageSender
(RpcOutcomeListener<BitControl.CustomMessage> listener, BitControl.CustomMessage message, io.netty.buffer.ByteBuf[] dataBodies) -
Method Summary
Modifier and TypeMethodDescriptionvoid
doRpcCall
(RpcOutcomeListener<BitControl.CustomMessage> outcomeListener, ControlConnection connection) io.netty.buffer.ByteBuf[]
Methods inherited from class org.apache.drill.exec.rpc.ListeningCommand
connectionAvailable, connectionFailed, connectionSucceeded, getOutcomeListener
-
Constructor Details
-
CustomMessageSender
public CustomMessageSender(RpcOutcomeListener<BitControl.CustomMessage> listener, BitControl.CustomMessage message, io.netty.buffer.ByteBuf[] dataBodies)
-
-
Method Details
-
doRpcCall
public void doRpcCall(RpcOutcomeListener<BitControl.CustomMessage> outcomeListener, ControlConnection connection) - Specified by:
doRpcCall
in classListeningCommand<BitControl.CustomMessage,
ControlConnection, BitControl.RpcType, BitControl.CustomMessage>
-
getRpcType
-
getMessage
-
getDataBodies
public io.netty.buffer.ByteBuf[] getDataBodies()
-