example.js
function unsubscribe() {
    console.log(' > ', 'init', ['xmlrpc_bin://' + thisHost + ':2031', '']);
    rpcClient.methodCall('init', ['xmlrpc_bin://' + thisHost + ':2031', ''], function (err, res) {
        console.log(err, res);

        process.exit(0);
    });
    setTimeout(function () {
        console.log('force quit');
        process.exit(1);
    }, 1000);
}
function unsubscribe() {
    console.log(' > ', 'init', ['xmlrpc_bin://' + thisHost + ':2031', '']);
    rpcClient.methodCall('init', ['xmlrpc_bin://' + thisHost + ':2031', ''], function (err, res) {
        console.log(err, res);

        process.exit(0);
    });
    setTimeout(function () {
        console.log('force quit');
        process.exit(1);
    }, 1000);
}
function unsubscribe ( ) { console . log ( ' > ' , 'init' , [ 'xmlrpc_bin://' + thisHost + ':2031' , '' ] ) ; rpcClient . methodCall ( 'init' , [ 'xmlrpc_bin://' + thisHost + ':2031' , '' ] , function ( err , res ) { console . log ( err , res ) ; process . exit ( 0 ) ; } ) ; setTimeout ( function ( ) { console . log ( 'force quit' ) ; process . exit ( 1 ) ; } , 1000 ) ; }
Tell the CCU that we no longer want to receive events
Tell the CCU that we no longer want to receive events