protected <T, A> void handleMessage(final Channel channel, final DataInput message, final ManagementProtocolHeader header,
                                 final ActiveOperation<T, A> support, final ManagementRequestHandler<T, A> handler) {
        assert support != null;
        updateChannelRef(support, channel);
        final ActiveOperation.ResultHandler<T> resultHandler = support.getResultHandler();
        try {
            handler.handleRequest(message, resultHandler,
                    new ManagementRequestContextImpl<T, A>(support, channel, header, getExecutor()));
        } catch (Exception e) {
            resultHandler.failed(e);
            safeWriteErrorResponse(channel, header, e);
        }
    }
protected < T , A > void handleMessage ( final Channel channel , final DataInput message , final ManagementProtocolHeader header , final ActiveOperation < T , A > support , final ManagementRequestHandler < T , A > handler ) { assert support != null ; updateChannelRef ( support , channel ) ; final ActiveOperation . ResultHandler < T > resultHandler = support . getResultHandler ( ) ; try { handler . handleRequest ( message , resultHandler , new ManagementRequestContextImpl < T , A > ( support , channel , header , getExecutor ( ) ) ) ; } catch ( Exception e ) { resultHandler . failed ( e ) ; safeWriteErrorResponse ( channel , header , e ) ; } }
Handle a message.

@param channel the channel
@param message the message
@param header the protocol header
@param support the request support
@param handler the request handler