|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectorg.jboss.netty.channel.SimpleChannelHandler
org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler
public class IdleStateAwareChannelHandler

继承了SimpleChannelHandler,为IdleStateEvent添加处理方法.
| 嵌套类摘要 |
|---|
| 从接口 org.jboss.netty.channel.ChannelHandler 继承的嵌套类/接口 |
|---|
ChannelHandler.Sharable |
| 构造方法摘要 | |
|---|---|
IdleStateAwareChannelHandler()
创建一个实例. |
|
| 方法摘要 | |
|---|---|
void |
channelIdle(ChannelHandlerContext ctx,
IdleStateEvent e)
当一个 Channel短暂空闲时被调用. |
void |
handleUpstream(ChannelHandlerContext ctx,
ChannelEvent e)
处理一个指定的上游事件. |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public IdleStateAwareChannelHandler()
| 方法详细信息 |
|---|
public void handleUpstream(ChannelHandlerContext ctx,
ChannelEvent e)
throws java.lang.Exception
SimpleChannelHandler 复制的描述
ChannelUpstreamHandler 中的 handleUpstreamSimpleChannelHandler 中的 handleUpstreamctx - 处理器的上下文对象e - 要处理或拦截的事件
java.lang.Exception
public void channelIdle(ChannelHandlerContext ctx,
IdleStateEvent e)
throws java.lang.Exception
Channel短暂空闲时被调用.
java.lang.Exception
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||