public class WebSocketEncoder extends MessageToByteEncoder
| 构造器和说明 |
|---|
WebSocketEncoder() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
codeVersion6(byte[] msg,
byte op)
方法名:codeVersion6
|
void |
encode(SocketChannel aioChannel,
Object obj) |
channelAdded, channelClosed, channelRead, channelWrite, decode, exceptionCaught, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchannelWritechannelAdded, channelClosed, channelRead, decode, exceptionCaught, userEventTriggeredpublic void encode(SocketChannel aioChannel, Object obj) throws Exception
encode 在接口中 ChannelBoundHandlerencode 在接口中 ChannelOutboundHandlerencode 在类中 ChannelHandlerAdapterExceptionpublic byte[] codeVersion6(byte[] msg,
byte op)
msg - byte[]Copyright © 2021. All rights reserved.