public class SslHandler extends ChannelAllBoundHandlerAdapter
| 构造器和说明 |
|---|
SslHandler(SocketChannel socketChannel,
SslService sslService) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
decode(SocketChannel socketChannel,
Object obj,
LinkedNonReadBlockQueue<Object> out)
消息解码
|
void |
encode(SocketChannel socketChannel,
Object obj)
消息编码
|
SslService |
getSslService() |
channelAdded, channelClosed, channelRead, channelWrite, exceptionCaught, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchannelAdded, channelClosed, channelRead, channelWrite, exceptionCaught, userEventTriggeredpublic SslHandler(SocketChannel socketChannel, SslService sslService)
public SslService getSslService()
public void encode(SocketChannel socketChannel, Object obj) throws Exception
ChannelBoundHandlerencode 在接口中 ChannelBoundHandlerencode 在类中 ChannelHandlerAdaptersocketChannel - 通道obj - 数据Exception - 异常public void decode(SocketChannel socketChannel, Object obj, LinkedNonReadBlockQueue<Object> out) throws Exception
ChannelBoundHandlerdecode 在接口中 ChannelBoundHandlerdecode 在类中 ChannelHandlerAdaptersocketChannel - 通道obj - 消息out - 消息队列Exception - 异常Copyright © 2021. All rights reserved.