Azure / DotNetty

DotNetty project – a port of netty, event-driven asynchronous network application framework
Other
4.09k stars 977 forks source link

where is Channel.setReadable Method #211

Closed endink closed 7 years ago

endink commented 7 years ago

when i want to order response , i need block reading event in "operation selector(in java)", how can i do it when use dotNetty?

setReadable method is missed on AbstractChannel class.

nayato commented 7 years ago

It isn't missing. If you want to control reads yourself, you can set AutoRead = false on Channel's configuration. In this case channel won't read from network until you order it through IChannel.Read() call.