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.ChannelHandler
Channel handler to read and write network messages on client side.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addInputChannel(RemoteInputChannel inputChannel)
void
cancelRequestFor(InputChannelID inputChannelId)
RemoteInputChannel
getInputChannel(InputChannelID inputChannelId)
boolean
hasChannelError()
Return whether there is channel error.void
removeInputChannel(RemoteInputChannel inputChannel)
void
setConnectionId(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
-
-