org.jboss.netty.channel
Class AbstractChannelSink
java.lang.Object
org.jboss.netty.channel.AbstractChannelSink
- All Implemented Interfaces:
- ChannelSink
public abstract class AbstractChannelSink
- extends Object
- implements ChannelSink
A skeletal ChannelSink
implementation.
- Version:
- $Rev: 2080 $, $Date: 2010-01-26 18:04:19 +0900 (Tue, 26 Jan 2010) $
- Author:
- The Netty Project, Trustin Lee
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractChannelSink
protected AbstractChannelSink()
- Creates a new instance.
exceptionCaught
public void exceptionCaught(ChannelPipeline pipeline,
ChannelEvent event,
ChannelPipelineException cause)
throws Exception
- Sends an
ExceptionEvent
upstream with the specified
cause
.
- Specified by:
exceptionCaught
in interface ChannelSink
- Parameters:
event
- the ChannelEvent
which caused a
ChannelHandler
to raise an exceptioncause
- the exception raised by a ChannelHandler
- Throws:
Exception
Copyright © 2008-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.