BnStorage Class Reference

#include <support/IStorage.h>

Inheritance diagram for BnStorage:

BnInterface< IStorage > IStorage BBinder IInterface IBinder SAtom SAtom BFile BMemoryStore BStreamDatum::Stream BVFSFile BDatabaseStore BMallocStore BValueStorage BStringIO List of all members.

Public Member Functions

virtual status_t Transact (uint32_t code, SParcel &data, SParcel *reply=NULL, uint32_t flags=0)
 Low-level data transfer.

Protected Member Functions

 BnStorage (const SContext &c)
 BnStorage ()
virtual status_t HandleEffect (const SValue &in, const SValue &inBindings, const SValue &outBindings, SValue *out)
virtual ~BnStorage ()

Constructor & Destructor Documentation

BnStorage  )  [inline, protected]

BnStorage const SContext c  )  [inline, protected]

virtual ~BnStorage  )  [inline, protected, virtual]

Member Function Documentation

status_t HandleEffect const SValue in,
const SValue inBindings,
const SValue outBindings,
SValue out
[protected, virtual]

Reimplemented from BBinder.

status_t Transact uint32_t  code,
SParcel data,
SParcel reply = NULL,
uint32_t  flags = 0

Low-level data transfer.

This is the Binder's IPC primitive. It allows you to send a parcel of data to another Binder (possibly in another process or language) and get a parcel of data back. The parcel can contain IBinder objects to transfer references between environments. The code can be any arbitrary value, though some standard codes are defined for parts of the higher-level IBinder protocol (B_EFFECT_TRANSACTION, B_INSPECT_TRANSACTION, etc). The flags are used for internal IPC implementation and must always be set to 0 when calling. If your implementation of Transact() returns an error code (instead of B_OK), that code will be propagated back to the caller WITHOUT any reply data.

Reimplemented from BBinder.

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