Package org.jboss.netty.channel

Examples of org.jboss.netty.channel.ExceptionEvent


    @Override
    public void log(ChannelEvent event)
    {
        if (event instanceof ExceptionEvent) {
            ExceptionEvent exceptionEvent = (ExceptionEvent) event;
            SocketAddress remoteAddress = exceptionEvent.getChannel().getRemoteAddress();
            log.error("Exception triggered on channel connected to " + remoteAddress,
                      exceptionEvent.getCause());
        }
    }
View Full Code Here

TOP

Related Classes of org.jboss.netty.channel.ExceptionEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.