function DH_onConnection(aTransport) {
    if (!this._allowConnection()) {
      return;
    }
    let connID = "conn" + this._nextConnID++ + '.';
    let conn = new DebuggerServerConnection(connID, aTransport);
    this._connections[connID] = conn;

    // Create a root actor for the connection and send the hello packet.
    conn.rootActor = this.createRootActor(conn);
    conn.addActor(conn.rootActor);
    aTransport.send(conn.rootActor.sayHello());
    aTransport.ready();
  }
/**
   * Create a new debugger connection for the given transport.  Called
   * after connectPipe() or after an incoming socket connection.
   */
Create a new debugger connection for the given transport.  Called
after connectPipe() or after an incoming socket connection.
Create a new debugger connection for the given transport . Called after connectPipe () or after an incoming socket connection .
function DH_onConnection(aTransport) {
    if (!this._allowConnection()) {
      return;
    }
    let connID = "conn" + this._nextConnID++ + '.';
    let conn = new DebuggerServerConnection(connID, aTransport);
    this._connections[connID] = conn;
    conn.rootActor = this.createRootActor(conn);
    conn.addActor(conn.rootActor);
    aTransport.send(conn.rootActor.sayHello());
    aTransport.ready();
  }
function DH_onConnection ( aTransport ) { if ( ! this . _allowConnection ( ) ) { return ; } let connID = "conn" + this . _nextConnID ++ + '.' ; let conn = new DebuggerServerConnection ( connID , aTransport ) ; this . _connections [ connID ] = conn ; conn . rootActor = this . createRootActor ( conn ) ; conn . addActor ( conn . rootActor ) ; aTransport . send ( conn . rootActor . sayHello ( ) ) ; aTransport . ready ( ) ; }
Create a new debugger connection for the given transport.
Create a new debugger connection for the given transport .
// Create a root actor for the connection and send the hello packet.