BnMemoryDealer Class Reference

#include <support/IMemory.h>

Inheritance diagram for BnMemoryDealer:

BnInterface< IMemoryDealer > IMemoryDealer BBinder IInterface IBinder SAtom SAtom List of all members.

Protected Member Functions

 BnMemoryDealer (const SContext &c)
 BnMemoryDealer ()
virtual status_t HandleEffect (const SValue &in, const SValue &inBindings, const SValue &outBindings, SValue *out)
virtual status_t Transact (uint32_t code, SParcel &data, SParcel *reply=NULL, uint32_t flags=0)
 Low-level data transfer.
virtual ~BnMemoryDealer ()

Constructor & Destructor Documentation

BnMemoryDealer  )  [inline, protected]
 

BnMemoryDealer const SContext c  )  [inline, protected]
 

virtual ~BnMemoryDealer  )  [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
[protected, virtual]
 

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: