0

all

I'm using Netty to implement a client program, which has to finish the handshaking process before it sends/receives data traffic from the server

To ensure the correctness of handshaking process, the server will send me a BARRIER message to indicate that all messages received before this BARRIER must be processed and answered before I process the messages after BARRIER,

Does netty provide any API to implement the requirement of this BARRIER?

Thank you

Best,

4

1 回答 1

1

您需要在 ChannelInboundHandler 实现或 ChannelUpstreamHandler 实现中处理它(取决于您使用的是 Netty 4 还是 Netty 3)。

于 2013-07-30T06:58:42.273 回答