* @param messageId the message id associaed with this shutdown request
*/
public static void sendShutdownResponse( IoSession requestor, int messageId )
{
GracefulShutdownResponse msg = new GracefulShutdownResponse( messageId, ResultCodeEnum.SUCCESS );
WriteFuture future = requestor.write( msg );
future.awaitUninterruptibly();
if ( future.isWritten() )
{
if ( LOG.isInfoEnabled() )
{
LOG.info( "Sent GracefulShutdownResponse to client: " + requestor.getRemoteAddress() );
}