Class ExceptionListenerAdapter
java.lang.Object
com.corundumstudio.socketio.listener.ExceptionListenerAdapter
- All Implemented Interfaces:
ExceptionListener
- Direct Known Subclasses:
DefaultExceptionListener
Base callback exceptions listener
-
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> data, SocketIOClient client) voidonPingException(Exception e, SocketIOClient client) voidonPongException(Exception e, SocketIOClient client)
-
Constructor Details
-
ExceptionListenerAdapter
public ExceptionListenerAdapter()
-
-
Method Details
-
onEventException
- Specified by:
onEventExceptionin interfaceExceptionListener
-
onDisconnectException
- Specified by:
onDisconnectExceptionin interfaceExceptionListener
-
onConnectException
- Specified by:
onConnectExceptionin interfaceExceptionListener
-
exceptionCaught
public boolean exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable e) throws Exception - Specified by:
exceptionCaughtin interfaceExceptionListener- Throws:
Exception
-
onPingException
- Specified by:
onPingExceptionin interfaceExceptionListener
-
onPongException
- Specified by:
onPongExceptionin interfaceExceptionListener
-