Future < ? > unregisterChannel ( Connection c ) { FutureTask < Object > ft = new FutureTask < Object > ( getUnregisterRunnable ( c ) , null ) ; m_tasks . offer ( ft ) ; m_selector . wakeup ( ) ; return ft ; }
Unregister a channel . The connections streams are not drained before finishing .