Class DefaultExceptionListener
java.lang.Object
com.corundumstudio.socketio.listener.ExceptionListenerAdapter
com.corundumstudio.socketio.listener.DefaultExceptionListener
- All Implemented Interfaces:
ExceptionListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable e) voidonConnectException(Exception e, SocketIOClient client) voidonDisconnectException(Exception e, SocketIOClient client) voidonEventException(Exception e, List<Object> args, SocketIOClient client) voidonPingException(Exception e, SocketIOClient client) voidonPongException(Exception e, SocketIOClient client)
-
Constructor Details
-
DefaultExceptionListener
public DefaultExceptionListener()
-
-
Method Details
-
onEventException
- Specified by:
onEventExceptionin interfaceExceptionListener- Overrides:
onEventExceptionin classExceptionListenerAdapter
-
onDisconnectException
- Specified by:
onDisconnectExceptionin interfaceExceptionListener- Overrides:
onDisconnectExceptionin classExceptionListenerAdapter
-
onConnectException
- Specified by:
onConnectExceptionin interfaceExceptionListener- Overrides:
onConnectExceptionin classExceptionListenerAdapter
-
onPingException
- Specified by:
onPingExceptionin interfaceExceptionListener- Overrides:
onPingExceptionin classExceptionListenerAdapter
-
onPongException
- Specified by:
onPongExceptionin interfaceExceptionListener- Overrides:
onPongExceptionin classExceptionListenerAdapter
-
exceptionCaught
public boolean exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable e) throws Exception - Specified by:
exceptionCaughtin interfaceExceptionListener- Overrides:
exceptionCaughtin classExceptionListenerAdapter- Throws:
Exception
-