Interface NetworkClientHandler
-
- All Superinterfaces:
org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandler
public interface NetworkClientHandler extends org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerChannel handler to read and write network messages on client side.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddInputChannel(RemoteInputChannel inputChannel)voidcancelRequestFor(InputChannelID inputChannelId)RemoteInputChannelgetInputChannel(InputChannelID inputChannelId)booleanhasChannelError()Return whether there is channel error.voidremoveInputChannel(RemoteInputChannel inputChannel)voidsetConnectionId(ConnectionID connectionId)
-
-
-
Method Detail
-
addInputChannel
void addInputChannel(RemoteInputChannel inputChannel) throws IOException
- Throws:
IOException
-
removeInputChannel
void removeInputChannel(RemoteInputChannel inputChannel)
-
getInputChannel
@Nullable RemoteInputChannel getInputChannel(InputChannelID inputChannelId)
-
cancelRequestFor
void cancelRequestFor(InputChannelID inputChannelId)
-
setConnectionId
void setConnectionId(ConnectionID connectionId)
-
hasChannelError
boolean hasChannelError()
Return whether there is channel error.- Returns:
- true if there is channel error
-
-