public interface HandshakeProcessorIntf extends ProcessorIntf
Modifier and Type | Method and Description |
---|---|
ImPacket |
handshake(ImPacket packet,
org.tio.core.ChannelContext channelContext)
对httpResponsePacket参数进行补充并返回,如果返回null表示不想和对方建立连接,框架会断开连接,如果返回非null,框架会把这个对象发送给对方
|
void |
onAfterHandshaked(ImPacket packet,
org.tio.core.ChannelContext channelContext)
握手成功后
|
isProtocol, name
Copyright © 2018. All rights reserved.