public class DataTunnelStatusHandler extends Object implements RpcOutcomeListener<BitData.AckWithCredit>
| Constructor and Description |
|---|
DataTunnelStatusHandler(Consumer<RpcException> consumer,
SendingAccountor sendingAccountor) |
| Modifier and Type | Method and Description |
|---|---|
void |
failed(RpcException ex)
Called when an error occurred while waiting for the RPC outcome.
|
void |
interrupted(InterruptedException e)
Called when the sending thread is interrupted.
|
void |
success(BitData.AckWithCredit value,
io.netty.buffer.ByteBuf buffer) |
public DataTunnelStatusHandler(Consumer<RpcException> consumer, SendingAccountor sendingAccountor)
public void failed(RpcException ex)
RpcOutcomeListenerfailed in interface RpcOutcomeListener<BitData.AckWithCredit>public void success(BitData.AckWithCredit value, io.netty.buffer.ByteBuf buffer)
success in interface RpcOutcomeListener<BitData.AckWithCredit>public void interrupted(InterruptedException e)
RpcOutcomeListenerinterrupted in interface RpcOutcomeListener<BitData.AckWithCredit>Copyright © 2021 The Apache Software Foundation. All rights reserved.