BNullStream Class Reference
[Data Model]

#include <support/NullStreams.h>

Inheritance diagram for BNullStream:

BnByteOutput BnByteInput BnInterface< IByteOutput > BnInterface< IByteInput > IByteOutput BBinder IByteInput BBinder IInterface IBinder IInterface IBinder SAtom SAtom SAtom SAtom List of all members.

Public Member Functions

 BNullStream ()
virtual SValue Inspect (const sptr< IBinder > &caller, const SValue &which, uint32_t flags=0)
 Probe binder for interface information.
virtual ssize_t ReadV (const struct iovec *, ssize_t, uint32_t flags=0)
virtual status_t Sync ()
 Make sure all data in the stream is written to its physical device.
virtual ssize_t WriteV (const struct iovec *vector, ssize_t count, uint32_t flags=0)

Protected Member Functions

virtual ~BNullStream ()

Constructor & Destructor Documentation

BNullStream  ) 
 

~BNullStream  )  [protected, virtual]
 


Member Function Documentation

SValue Inspect const sptr< IBinder > &  caller,
const SValue which,
uint32_t  flags = 0
[virtual]
 

Probe binder for interface information.

Return interfaces implemented by this binder object that are requested by which. This is a composition of all interfaces, expressed as { descriptor -> binder } mappings, which are selected through which.

Much more information on Inspect() can be found at Binder Inspect() Details.

Reimplemented from BnInterface< IByteOutput >.

ssize_t ReadV const struct iovec *  ,
ssize_t  ,
uint32_t  flags = 0
[virtual]
 

status_t Sync  )  [virtual]
 

Make sure all data in the stream is written to its physical device.

Returns B_OK if the data is safely stored away, else an error code.

Implements IByteOutput.

ssize_t WriteV const struct iovec *  vector,
ssize_t  count,
uint32_t  flags = 0
[virtual]
 


The documentation for this class was generated from the following files: