public class TcpIpConnectionChannelErrorHandler extends Object implements ChannelErrorHandler
Constructor and Description |
---|
TcpIpConnectionChannelErrorHandler(ILogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
onError(Channel channel,
Throwable error)
Called when an error was detected.
|
public TcpIpConnectionChannelErrorHandler(ILogger logger)
public void onError(Channel channel, Throwable error)
ChannelErrorHandler
onError
in interface ChannelErrorHandler
channel
- the Channel that ran into an error. It could be that
the Channel is null if error
was thrown not related to a particular Channel.error
- the Throwable causing problemsCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.