public final class NettySession extends BaseSession implements Session
| 构造器和说明 |
|---|
NettySession(String name,
io.netty.channel.Channel channel)
构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
close0()
关闭
|
void |
write(byte[] data)
写入原始数据 不做其它处理
|
address, buffer, buffer, close, flush, id, ip, pack, pack, port, send, send, send, toBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic NettySession(String name, io.netty.channel.Channel channel)
name - 名称channel - 通道public void write(byte[] data)
Sessionprotected void close0()
BaseSessionclose0 在类中 BaseSessionCopyright © 2016. All rights reserved.