Class ExceptionListenerAdapter
java.lang.Object
com.corundumstudio.socketio.listener.ExceptionListenerAdapter
- All Implemented Interfaces:
ExceptionListener
- Direct Known Subclasses:
DefaultExceptionListener
Base callback exceptions listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
exceptionCaught
(io.netty.channel.ChannelHandlerContext ctx, Throwable e) void
onConnectException
(Exception e, SocketIOClient client) void
onDisconnectException
(Exception e, SocketIOClient client) void
onEventException
(Exception e, List<Object> data, SocketIOClient client) void
onPingException
(Exception e, SocketIOClient client) void
onPongException
(Exception e, SocketIOClient client)
-
Constructor Details
-
ExceptionListenerAdapter
public ExceptionListenerAdapter()
-
-
Method Details
-
onEventException
- Specified by:
onEventException
in interfaceExceptionListener
-
onDisconnectException
- Specified by:
onDisconnectException
in interfaceExceptionListener
-
onConnectException
- Specified by:
onConnectException
in interfaceExceptionListener
-
exceptionCaught
public boolean exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable e) throws Exception - Specified by:
exceptionCaught
in interfaceExceptionListener
- Throws:
Exception
-
onPingException
- Specified by:
onPingException
in interfaceExceptionListener
-
onPongException
- Specified by:
onPongException
in interfaceExceptionListener
-