public abstract class SimpleChannelHandler extends Object implements ChannelHandler
| 构造器和说明 |
|---|
SimpleChannelHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onClosed(String reason) |
void |
onConnect(ChannelContext context) |
void |
onError(ChannelContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonMessagepublic void onConnect(ChannelContext context) throws Exception
onConnect 在接口中 ChannelHandlerExceptionpublic void onError(ChannelContext context) throws Exception
onError 在接口中 ChannelHandlerExceptionpublic void onClosed(String reason)
onClosed 在接口中 ChannelHandlerCopyright © 2020. All rights reserved.