example.js
function subscribe() {
    console.log(' > ', 'init', ['xmlrpc_bin://' + thisHost + ':2031', 'test123']);
    rpcClient.methodCall('init', ['xmlrpc_bin://' + thisHost + ':2031', 'test123'], function (err, res) {
        console.log(err, res);
    });
}
function subscribe() {
    console.log(' > ', 'init', ['xmlrpc_bin://' + thisHost + ':2031', 'test123']);
    rpcClient.methodCall('init', ['xmlrpc_bin://' + thisHost + ':2031', 'test123'], function (err, res) {
        console.log(err, res);
    });
}
function subscribe ( ) { console . log ( ' > ' , 'init' , [ 'xmlrpc_bin://' + thisHost + ':2031' , 'test123' ] ) ; rpcClient . methodCall ( 'init' , [ 'xmlrpc_bin://' + thisHost + ':2031' , 'test123' ] , function ( err , res ) { console . log ( err , res ) ; } ) ; }
Tell the CCU that we want to receive events
Tell the CCU that we want to receive events