1

I am writing asynchronous client in netty. I need information about request message type sent to server to be able to decode the response came back from the server. In other words, decoding logic needs information about request message type. How can I get hold of this information in upstream handlers or decoders?

Thanks in advance for help.

4

1 に答える 1

0

Channel.setAttachment(..)、Channel.getAttachment() を使用できます。

于 2012-11-23T20:17:33.887 に答える