function updateListenerCB(request, appData, callback) {
    logutils.logger.debug('updateListenerCB');
    var lisId = request.param('uuid');
    var lisPutData = request.body;
    var lisPutURL = '/loadbalancer-listener/';
    if (!('loadbalancer-listener' in lisPutData)
            || (!('uuid' in lisPutData['loadbalancer-listener']))) {
        error = new appErrors.RESTServerError(
                'listener object or its uuid missing ');
        callback(error, lisPutData);
        return;
    }
    var lisUUID = lisPutData['loadbalancer-listener']['uuid'];
    if (lisId != lisUUID) {
        error = new appErrors.RESTServerError(
                'listener Id and listener Object uuid mismatch ');
        callback(error, lisPutData);
        return;
    }
    lisPutURL += lisUUID;
    lisPutData = removeListenerBackRefs(lisPutData);
    lisPutData = removeListenerRefs(lisPutData);
    jsonDiff.getConfigDiffAndMakeCall(lisPutURL, appData, lisPutData, function(
            locError, data) {
        error = appendMessage(locError, locError);
        callback(error, data);
    });
}
/**
 * @updateListenerCB private function 1. Callback for Listener update operations
 *                   2. Send a call to Update the Listener diff
 */
@updateListenerCB private function 1. Callback for Listener update operations
2. Send a call to Update the Listener diff
@updateListenerCB private function 1 . Callback for Listener update operations 2 . Send a call to Update the Listener diff
function updateListenerCB(request, appData, callback) {
    logutils.logger.debug('updateListenerCB');
    var lisId = request.param('uuid');
    var lisPutData = request.body;
    var lisPutURL = '/loadbalancer-listener/';
    if (!('loadbalancer-listener' in lisPutData)
            || (!('uuid' in lisPutData['loadbalancer-listener']))) {
        error = new appErrors.RESTServerError(
                'listener object or its uuid missing ');
        callback(error, lisPutData);
        return;
    }
    var lisUUID = lisPutData['loadbalancer-listener']['uuid'];
    if (lisId != lisUUID) {
        error = new appErrors.RESTServerError(
                'listener Id and listener Object uuid mismatch ');
        callback(error, lisPutData);
        return;
    }
    lisPutURL += lisUUID;
    lisPutData = removeListenerBackRefs(lisPutData);
    lisPutData = removeListenerRefs(lisPutData);
    jsonDiff.getConfigDiffAndMakeCall(lisPutURL, appData, lisPutData, function(
            locError, data) {
        error = appendMessage(locError, locError);
        callback(error, data);
    });
}
function updateListenerCB ( request , appData , callback ) { logutils . logger . debug ( 'updateListenerCB' ) ; var lisId = request . param ( 'uuid' ) ; var lisPutData = request . body ; var lisPutURL = '/loadbalancer-listener/' ; if ( ! ( 'loadbalancer-listener' in lisPutData ) || ( ! ( 'uuid' in lisPutData [ 'loadbalancer-listener' ] ) ) ) { error = new appErrors . RESTServerError ( 'listener object or its uuid missing ' ) ; callback ( error , lisPutData ) ; return ; } var lisUUID = lisPutData [ 'loadbalancer-listener' ] [ 'uuid' ] ; if ( lisId != lisUUID ) { error = new appErrors . RESTServerError ( 'listener Id and listener Object uuid mismatch ' ) ; callback ( error , lisPutData ) ; return ; } lisPutURL += lisUUID ; lisPutData = removeListenerBackRefs ( lisPutData ) ; lisPutData = removeListenerRefs ( lisPutData ) ; jsonDiff . getConfigDiffAndMakeCall ( lisPutURL , appData , lisPutData , function ( locError , data ) { error = appendMessage ( locError , locError ) ; callback ( error , data ) ; } ) ; }
@updateListenerCB private function 1.
@updateListenerCB private function 1 .