public class SocketServerChannelInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ByteArrayDecoder |
static String |
ByteArrayEncoder |
static String |
LengthFieldBasedFrameDecoder |
static String |
ProtocolDecoderHandler |
static String |
ProtocolEncoderHandler |
static String |
SocketHandler |
static String |
SystemTimeOut |
| 构造器和说明 |
|---|
SocketServerChannelInitializer(int heartTime,
SocketService socketService,
org.springframework.context.ApplicationContext applicationContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
initChannel(io.netty.channel.socket.SocketChannel ch) |
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredpublic SocketServerChannelInitializer(int heartTime,
SocketService socketService,
org.springframework.context.ApplicationContext applicationContext)
Copyright © 2018. All rights reserved.