function DH_connectPipe() {
    this._checkInit();

    let toServer = Cc["@mozilla.org/pipe;1"].createInstance(Ci.nsIPipe);
    toServer.init(true, true, 0, 0, null);
    let toClient = Cc["@mozilla.org/pipe;1"].createInstance(Ci.nsIPipe);
    toClient.init(true, true, 0, 0, null);

    let serverTransport = new DebuggerTransport(toServer.inputStream,
                                                toClient.outputStream);
    this._onConnection(serverTransport);

    return new DebuggerTransport(toClient.inputStream, toServer.outputStream);
  }
/**
   * Creates a new connection to the local debugger speaking over an
   * nsIPipe.
   *
   * @returns a client-side DebuggerTransport for communicating with
   *          the newly-created connection.
   */
Creates a new connection to the local debugger speaking over an
nsIPipe.

@returns a client-side DebuggerTransport for communicating with
the newly-created connection.
Creates a new connection to the local debugger speaking over an nsIPipe . @returns a client - side DebuggerTransport for communicating with the newly - created connection .
function DH_connectPipe() {
    this._checkInit();
    let toServer = Cc["@mozilla.org/pipe;1"].createInstance(Ci.nsIPipe);
    toServer.init(true, true, 0, 0, null);
    let toClient = Cc["@mozilla.org/pipe;1"].createInstance(Ci.nsIPipe);
    toClient.init(true, true, 0, 0, null);
    let serverTransport = new DebuggerTransport(toServer.inputStream,
                                                toClient.outputStream);
    this._onConnection(serverTransport);
    return new DebuggerTransport(toClient.inputStream, toServer.outputStream);
  }
function DH_connectPipe ( ) { this . _checkInit ( ) ; let toServer = Cc [ "@mozilla.org/pipe;1" ] . createInstance ( Ci . nsIPipe ) ; toServer . init ( true , true , 0 , 0 , null ) ; let toClient = Cc [ "@mozilla.org/pipe;1" ] . createInstance ( Ci . nsIPipe ) ; toClient . init ( true , true , 0 , 0 , null ) ; let serverTransport = new DebuggerTransport ( toServer . inputStream , toClient . outputStream ) ; this . _onConnection ( serverTransport ) ; return new DebuggerTransport ( toClient . inputStream , toServer . outputStream ) ; }
Creates a new connection to the local debugger speaking over an
 nsIPipe.
Creates a new connection to the local debugger speaking over an nsIPipe .