function ILXServer(methods, options)
{
    if (ILXServerWrap !== null) {
        throw new Error('ILX server interface has already been initialized');
    }
    ILXServerWrap = process.binding('ILXServerWrap').ILXServerWrap;
    this._ilxServer = new ILXServerWrap();
    this._ilxServer.owner = this;

    // callbacks that are invoked from the C++ ILXServerWrap class
    this._ilxServer.onmessage = ilxServerMessageCallback;
    this._ilxServer.writable = ilxConfiguredCallback;

    options = options || {};
    options.debug = options.debug || false;
    options.timeout = options.timeout || 5000;
    this._options = options;

    this._defaultMethod = false;
    this._methods = methods || {};

    this._traceLevel = 0;
}
/**
 * Represents a "multiplex" ILX server that accepts multiple messages over the same TCP connection.
 *
 * Expected message format: <length:UInt32BE><json_rpc_string:string>
 *
 * @constructor
 * @augments net.Server
 * @param {object} [methods] - hash of methods in {name: callback} format (optional)
 * @param {object} [options] - server options (optional)
 * @param {boolean} [options.debug=false] - debug logging
 * @param {integer} [options.timeout=5000] - TCP socket timeout in milliseconds
 */
Represents a "multiplex" ILX server that accepts multiple messages over the same TCP connection.
Expected message format: 


Represents a " multiplex " ILX server that accepts multiple messages over the same TCP connection . Expected message format :
function ILXServer(methods, options)
{
    if (ILXServerWrap !== null) {
        throw new Error('ILX server interface has already been initialized');
    }
    ILXServerWrap = process.binding('ILXServerWrap').ILXServerWrap;
    this._ilxServer = new ILXServerWrap();
    this._ilxServer.owner = this;
    this._ilxServer.onmessage = ilxServerMessageCallback;
    this._ilxServer.writable = ilxConfiguredCallback;
    options = options || {};
    options.debug = options.debug || false;
    options.timeout = options.timeout || 5000;
    this._options = options;
    this._defaultMethod = false;
    this._methods = methods || {};
    this._traceLevel = 0;
}
function ILXServer ( methods , options ) { if ( ILXServerWrap !== null ) { throw new Error ( 'ILX server interface has already been initialized' ) ; } ILXServerWrap = process . binding ( 'ILXServerWrap' ) . ILXServerWrap ; this . _ilxServer = new ILXServerWrap ( ) ; this . _ilxServer . owner = this ; this . _ilxServer . onmessage = ilxServerMessageCallback ; this . _ilxServer . writable = ilxConfiguredCallback ; options = options || { } ; options . debug = options . debug || false ; options . timeout = options . timeout || 5000 ; this . _options = options ; this . _defaultMethod = false ; this . _methods = methods || { } ; this . _traceLevel = 0 ; }
Represents a "multiplex" ILX server that accepts multiple messages over the same TCP connection.
Represents a " multiplex " ILX server that accepts multiple messages over the same TCP connection .
// callbacks that are invoked from the C++ ILXServerWrap class