Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

nsIInputStreamTee Interface Reference

import "nsIInputStreamTee.idl";

Inheritance diagram for nsIInputStreamTee:

nsIInputStream nsISupports

List of all members.


Detailed Description

A nsIInputStreamTee is a wrapper for an input stream, that when read reads the specified amount of data from its |source| and copies that data to its |sink|. |sink| must be a blocking output stream.

Definition at line 49 of file nsIInputStreamTee.idl.


Public Member Functions

unsigned long available ()
void close ()
boolean isNonBlocking ()
unsigned long read (in charPtr aBuf, in unsigned long aCount)
unsigned long readSegments (in nsWriteSegmentFun aWriter, in voidPtr aClosure, in unsigned long aCount)
Methods
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

attribute nsIOutputStream sink
attribute nsIInputStream source
struct nsISupports_vtblvtbl

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index