function GhostServer(rootApp) {
    this.rootApp = rootApp;
    this.httpServer = null;
    this.connections = {};
    this.connectionId = 0;

    // Expose config module for use externally.
    this.config = config;
}
function GhostServer(rootApp) {
    this.rootApp = rootApp;
    this.httpServer = null;
    this.connections = {};
    this.connectionId = 0;

    // Expose config module for use externally.
    this.config = config;
}
function GhostServer ( rootApp ) { this . rootApp = rootApp ; this . httpServer = null ; this . connections = { } ; this . connectionId = 0 ; // Expose config module for use externally. this . config = config ; }
## GhostServer
@constructor
@param {Object} rootApp - parent express instance
## GhostServer
GhostServer constructor.