protected synchronized void readerDidExit ( ) { // clear out our reader reference _reader = null ; if ( _writer == null ) { // there's no writer during authentication, so we may be responsible for closing the // socket channel closeChannel ( ) ; // let the client know when we finally go away clientCleanup ( _logonError ) ; } log . debug ( "Reader thread exited." ) ; }
Callback called by the reader thread when it goes away .