Diff for /protozilla/ipc/public/nsIPipeTransport.idl between versions 1.11 and 1.12

version 1.11, 2002/08/25 13:27:11 version 1.12, 2003/02/17 00:01:31
Line 32 Line 32
   
 #include "nsISupports.idl"  #include "nsISupports.idl"
 #include "nsIPipe.idl"  #include "nsIPipe.idl"
#include "nsITransport.idl"#include "nsIRequest.idl"
 #include "nsIPipeListener.idl"  #include "nsIPipeListener.idl"
   
interface nsITransport;interface nsIRequest;
 interface nsIFile;  interface nsIFile;
 interface nsIInputStream;  interface nsIInputStream;
 interface nsIOutputStream;  interface nsIOutputStream;
Line 87  interface nsIPipeTransportListener; Line 87  interface nsIPipeTransportListener;
  *   *
  */   */
 [scriptable, uuid(8431e100-7ab1-11d4-8f02-006008948af5)]  [scriptable, uuid(8431e100-7ab1-11d4-8f02-006008948af5)]
interface nsIPipeTransport : nsITransportinterface nsIPipeTransport : nsIRequest
 {  {
     /**      /**
      * Initializes PipeTransport by executing the specified file using the       * Initializes PipeTransport by executing the specified file using the
Line 172  interface nsIPipeTransport : nsITranspor Line 172  interface nsIPipeTransport : nsITranspor
     attribute boolean loggingEnabled;      attribute boolean loggingEnabled;
   
     /**      /**
        * Open an input stream on this transport.
        *
        * @param offset - read starting at this offset
        * @param count  - read this many bytes (pass PRUint32(-1) if unlimited)
        * @param flags  - optional transport specific flags
        */
       nsIInputStream openInputStream(in unsigned long offset,
                                      in unsigned long count,
                                      in unsigned long flags);
   
       /**
        * Open an output stream on this transport.
        *
        * @param offset - write starting at this offset
        * @param count  - write no more than this many bytes (pass PRUint32(-1) if unlimited)
        * @param flags  - optional transport specific flags
        */
       nsIOutputStream openOutputStream(in unsigned long offset,
                                        in unsigned long count,
                                        in unsigned long flags);
   
       /**
        * Asynchronously read data from the transport.
        *
        * @param listener - notify this listener when data is available
        * @param ctxt     - opaque parameter passed to listener methods
        * @param offset   - read starting at this offset
        * @param count    - read this many bytes (pass PRUint32(-1) if unlimited)
        * @param flags    - optional transport specific flags
        */
       nsIRequest asyncRead(in nsIStreamListener listener,
                            in nsISupports ctxt, 
                            in unsigned long offset,
                            in unsigned long count,
                            in unsigned long flags);
   
       /**
      * Checks if process is still actively piping I/O       * Checks if process is still actively piping I/O
      */       */
     boolean isAttached();      boolean isAttached();

Removed from v.1.11  
changed lines
  Added in v.1.12


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