Class ClosingChannelExceptionHandler<T extends Channel>

  • All Implemented Interfaces:
    EventListener, org.xnio.ChannelExceptionHandler<T>

    public class ClosingChannelExceptionHandler<T extends Channel>
    extends Object
    implements org.xnio.ChannelExceptionHandler<T>
    Channel exception handler that closes the channel, logs a debug level message and closes arbitrary other resources.
    Stuart Douglas
    • Constructor Detail

      • ClosingChannelExceptionHandler

        public ClosingChannelExceptionHandler​(Closeable... closable)
    • Method Detail

      • handleException

        public void handleException​(T t,
                                    IOException e)
        Specified by:
        handleException in interface org.xnio.ChannelExceptionHandler<T extends Channel>