Class ControlTunnel.SyncCustomMessageSender
java.lang.Object
org.apache.drill.exec.rpc.FutureBitCommand<BitControl.CustomMessage,ControlConnection,BitControl.RpcType,BitControl.CustomMessage>
org.apache.drill.exec.rpc.control.ControlTunnel.SyncCustomMessageSender
- All Implemented Interfaces:
RpcCommand<BitControl.CustomMessage,
,ControlConnection, BitControl.RpcType, BitControl.CustomMessage> RpcConnectionHandler<ControlConnection>
- Enclosing class:
- ControlTunnel
public static class ControlTunnel.SyncCustomMessageSender
extends FutureBitCommand<BitControl.CustomMessage,ControlConnection,BitControl.RpcType,BitControl.CustomMessage>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.exec.rpc.RpcConnectionHandler
RpcConnectionHandler.FailureType
-
Field Summary
Fields inherited from class org.apache.drill.exec.rpc.FutureBitCommand
settableFuture
-
Constructor Summary
ConstructorDescriptionSyncCustomMessageSender
(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.FutureBitCommand
connectionAvailable, connectionFailed, connectionSucceeded, getFuture, getOutcomeListener
-
Constructor Details
-
SyncCustomMessageSender
public SyncCustomMessageSender(BitControl.CustomMessage message, io.netty.buffer.ByteBuf[] dataBodies)
-
-
Method Details
-
doRpcCall
public void doRpcCall(RpcOutcomeListener<BitControl.CustomMessage> outcomeListener, ControlConnection connection) - Specified by:
doRpcCall
in classFutureBitCommand<BitControl.CustomMessage,
ControlConnection, BitControl.RpcType, BitControl.CustomMessage>
-
getRpcType
-
getMessage
-
getDataBodies
public io.netty.buffer.ByteBuf[] getDataBodies()
-