public void dispose( IoSession session ) throws Exception { synchronized( encoder ) { encoder.dispose( session ); } } }
/** * {@inheritDoc} */ @Override public void dispose(IoSession session) throws Exception { synchronized (encoder) { encoder.dispose(session); } } }
/** * {@inheritDoc} */ @Override public void dispose(IoSession session) throws Exception { synchronized (encoder) { encoder.dispose(session); } } }
public void dispose(IoSession session) throws Exception { synchronized (encoder) { encoder.dispose(session); } } }
/** * Dispose the encoder, removing its instance from the * session's attributes, and calling the associated * dispose method. */ private void disposeEncoder(IoSession session) { ProtocolEncoder encoder = (ProtocolEncoder) session.removeAttribute(ENCODER); if (encoder == null) { return; } try { encoder.dispose(session); } catch (Exception e) { LOGGER.warn("Failed to dispose: " + encoder.getClass().getName() + " (" + encoder + ')'); } }
/** * Dispose the encoder, removing its instance from the * session's attributes, and calling the associated * dispose method. */ private void disposeEncoder(IoSession session) { ProtocolEncoder encoder = (ProtocolEncoder) session.removeAttribute(ENCODER); if (encoder == null) { return; } try { encoder.dispose(session); } catch (Exception e) { LOGGER.warn("Failed to dispose: " + encoder.getClass().getName() + " (" + encoder + ')'); } }
/** * Dispose the encoder, removing its instance from the * session's attributes, and calling the associated * dispose method. */ private void disposeEncoder(IoSession session) { ProtocolEncoder encoder = (ProtocolEncoder) session .removeAttribute(ENCODER); if (encoder == null) { return; } try { encoder.dispose(session); } catch (Throwable t) { LOGGER.warn( "Failed to dispose: " + encoder.getClass().getName() + " (" + encoder + ')'); } }
/** * Dispose the encoder, removing its instance from the * session's attributes, and calling the associated * dispose method. */ private void disposeEncoder(IoSession session) { ProtocolEncoder encoder = (ProtocolEncoder) session .removeAttribute(ENCODER); if (encoder == null) { return; } try { encoder.dispose(session); } catch (Throwable t) { LOGGER.warn( "Failed to dispose: " + encoder.getClass().getName() + " (" + encoder + ')'); } }
private void disposeEncoder( IoSession session ) { ProtocolEncoder encoder = ( ProtocolEncoder ) session.removeAttribute( ENCODER ); if( encoder == null ) { return; } try { encoder.dispose( session ); } catch( Throwable t ) { SessionLog.warn( session, "Failed to dispose: " + encoder.getClass().getName() + " (" + encoder + ')' ); } }