Home > other >  Why didn't the nio SelectionKey close events
Why didn't the nio SelectionKey close events

Time:12-03





API on the accept/read/write/connect/close this is normal operation, the predictable


Also have clear instructions in the HTTP protocol Connection: close


But other operations can be registered with the register http://docs.oracle.com/javase/7/docs/api/java/nio/channels/SelectionKey.html


But the close operation can only be handled by exception

CodePudding user response:

: yes, it is quite strange, one of the netty unregisted events, be encapsulation, or good
  • Related