Diff for /protozilla/ipc/public/nsIPipeTransport.idl between versions 1.7 and 1.8

version 1.7, 2002/04/06 08:09:51 version 1.8, 2002/04/18 05:53:32
Line 106  interface nsIPipeTransport : nsITranspor Line 106  interface nsIPipeTransport : nsITranspor
      *                    (if == 0, a default value, usually an hour, is used)       *                    (if == 0, a default value, usually an hour, is used)
      * @param killString  string to be transmitted to process before it is       * @param killString  string to be transmitted to process before it is
      *                    killed (specify null string, if none)       *                    killed (specify null string, if none)
     * @param usePolling  use PR_Poll to poll pipes (doesn't work on Win32)     * @param noProxy     do not use proxy for async callback
      *                    (must use join to terminate process, in this case)
      * @param mergeStderr merge STDERR with STDOUT       * @param mergeStderr merge STDERR with STDOUT
      * @param console     nsIPipeConsole object to capture STDERR       * @param console     nsIPipeConsole object to capture STDERR
      * @param joinConsole join STDERR console on encountering EOF on STDOUT       * @param joinConsole join STDERR console on encountering EOF on STDOUT
Line 120  interface nsIPipeTransport : nsITranspor Line 121  interface nsIPipeTransport : nsITranspor
               in unsigned long envCount,                in unsigned long envCount,
               in unsigned long timeoutMS,                in unsigned long timeoutMS,
               in string killString,                in string killString,
              in boolean usePolling,              in boolean noProxy,
               in boolean mergeStderr,                in boolean mergeStderr,
               in nsIPipeConsole console,                in nsIPipeConsole console,
               in boolean joinConsole);                in boolean joinConsole);
Line 138  interface nsIPipeTransport : nsITranspor Line 139  interface nsIPipeTransport : nsITranspor
      *                    (if == 0, a default value, usually an hour, is used)       *                    (if == 0, a default value, usually an hour, is used)
      * @param killString  string to be transmitted to process before it is       * @param killString  string to be transmitted to process before it is
      *                    killed (specify null string, if none)       *                    killed (specify null string, if none)
     * @param usePolling  use PR_Poll to poll pipes (doesn't work on Win32)     * @param noProxy     do not use proxy for async callback
      *                    (must use join to terminate process, in this case)
      * @param mergeStderr merge STDERR with STDOUT       * @param mergeStderr merge STDERR with STDOUT
      * @param console     nsIPipeConsole object to capture STDERR       * @param console     nsIPipeConsole object to capture STDERR
      * @param joinConsole join STDERR console on encountering EOF on STDOUT       * @param joinConsole join STDERR console on encountering EOF on STDOUT
Line 149  interface nsIPipeTransport : nsITranspor Line 151  interface nsIPipeTransport : nsITranspor
               in unsigned long envCount,                in unsigned long envCount,
               in unsigned long timeoutMS,                in unsigned long timeoutMS,
               in string killString,                in string killString,
              in boolean usePolling,              in boolean noProxy,
               in boolean mergeStderr,                in boolean mergeStderr,
               in nsIPipeConsole console,                in nsIPipeConsole console,
               in boolean joinConsole);                in boolean joinConsole);
Line 175  interface nsIPipeTransport : nsITranspor Line 177  interface nsIPipeTransport : nsITranspor
     boolean isAttached();      boolean isAttached();
   
     /**      /**
        * Joins STDOUT handling thread (blocking until it terminates),
        * and then terminates process if active
        * (Necessary and only works if noProxy is true)
        */
       void join();
   
       /**
      * Terminates process, if active.       * Terminates process, if active.
      */       */
     void terminate();      void terminate();
Line 191  interface nsIPipeTransport : nsITranspor Line 200  interface nsIPipeTransport : nsITranspor
     void write(in string inputData, in unsigned long inputLength);      void write(in string inputData, in unsigned long inputLength);
   
     /**      /**
     * Writes string to process STDIN (asynchronously) and closes STDIN     * Writes stream data to process STDIN (asynchronously),
      * and close inputStream and STDIN after writing, if requested
      */       */
    void writeAndClose(in string inputData, in unsigned long inputLength);    void writeFromStream(in nsIInputStream aFromStream,
                          in unsigned long aCount,
                          in boolean closeAfterWrite);
   
     /**      /**
      * Transmits command string to process, blocks for output and returns the       * Transmits command string to process, blocks for output and returns the
Line 250  interface nsIPipeTransportPoller : nsISu Line 262  interface nsIPipeTransportPoller : nsISu
    */     */
   void asyncStart(in nsIOutputStream aOutputStream,    void asyncStart(in nsIOutputStream aOutputStream,
                   in nsIPipeTransportListener aProxyPipeObserver,                    in nsIPipeTransportListener aProxyPipeObserver,
                     in boolean joinable,
                   in unsigned long aMimeHeadersMaxSize);                    in unsigned long aMimeHeadersMaxSize);
   
   /**    /**
Line 263  interface nsIPipeTransportPoller : nsISu Line 276  interface nsIPipeTransportPoller : nsISu
   boolean isInterrupted();    boolean isInterrupted();
   
   /**    /**
      * Joins polling thread, if joinable (blocking until it terminates)
      */
     void join();
   
     /**
    * Controls console logging of STDOUT from process     * Controls console logging of STDOUT from process
    */     */
   attribute boolean loggingEnabled;    attribute boolean loggingEnabled;
Line 275  interface nsIPipeTransportPoller : nsISu Line 293  interface nsIPipeTransportPoller : nsISu
 interface nsIPipeTransportWriter : nsISupports  interface nsIPipeTransportWriter : nsISupports
 {  {
   /**    /**
   * writes string data to pipe (asynchronously) and then closes the pipe   * writes count bytes from input stream to STDIN pipe (asynchronously) and
    * then closes the STDIN pipe
    */     */
  void writeAndClose(in string inputData, in unsigned long inputLength,  void writeFromStream(in nsIInputStream aFromStream,
                     in IPCFileDescStar pipe);                       in unsigned long aCount,
                        in IPCFileDescStar pipe,
                        in boolean closeAfterWrite);
 };  };
   
   

Removed from v.1.7  
changed lines
  Added in v.1.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>