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

一个发送指定上游事件的Runnable.大多数用户根本不会看到这个类型,因为它只被Executor的实现者使用.
| 构造方法摘要 | |
|---|---|
ChannelEventRunnable(ChannelHandlerContext ctx,
ChannelEvent e)
创建一个通过指定 ChannelHandlerContext发送指定上游事件的Runnable. |
|
| 方法摘要 | |
|---|---|
ChannelHandlerContext |
getContext()
返回被用来发送上游事件的 ChannelHandlerContext. |
ChannelEvent |
getEvent()
返回被发送到上游的事件. |
void |
run()
发送上游事件. |
java.lang.Object |
unwrap()
返回一个需要重新考虑使用 ObjectSizeEstimator估算更确切对象大小的底层对象. |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public ChannelEventRunnable(ChannelHandlerContext ctx,
ChannelEvent e)
ChannelHandlerContext发送指定上游事件的Runnable.
| 方法详细信息 |
|---|
public ChannelHandlerContext getContext()
ChannelHandlerContext.
public ChannelEvent getEvent()
public void run()
java.lang.Runnable 中的 runpublic java.lang.Object unwrap()
EstimatableObjectWrapper 复制的描述ObjectSizeEstimator估算更确切对象大小的底层对象.
EstimatableObjectWrapper 中的 unwrap
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||