public class TcpIpConnectionChannelErrorHandler extends Object implements com.hazelcast.internal.networking.ChannelErrorHandler
Constructor and Description |
---|
TcpIpConnectionChannelErrorHandler(ILogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
onError(com.hazelcast.internal.networking.Channel channel,
Throwable cause)
Called when an error happened.
|
public TcpIpConnectionChannelErrorHandler(ILogger logger)
public void onError(com.hazelcast.internal.networking.Channel channel, Throwable cause)
com.hazelcast.internal.networking.ChannelErrorHandler
onError
in interface com.hazelcast.internal.networking.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.cause
- the Throwable causing problemsCopyright © 2018 Hazelcast, Inc.. All rights reserved.