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) |
void |
interrupted(InterruptedException e) |
void |
success(BitData.AckWithCredit value,
ByteBuf buffer) |
public DataTunnelStatusHandler(Consumer<RpcException> consumer, SendingAccountor sendingAccountor)
public void failed(RpcException ex)
failed
in interface RpcOutcomeListener<BitData.AckWithCredit>
public void success(BitData.AckWithCredit value, ByteBuf buffer)
success
in interface RpcOutcomeListener<BitData.AckWithCredit>
public void interrupted(InterruptedException e)
interrupted
in interface RpcOutcomeListener<BitData.AckWithCredit>
Copyright © 2022 The Apache Software Foundation. All rights reserved.