MRemConBearerBulkObserver Class Reference

class MRemConBearerBulkObserver

Interface presented by RemCon down to bulk bearers. The public methods are non-virtual and exported, so that they can be added to without breaking BC for existing (non-rebuilt) bearers.

Public Member Functions
IMPORT_C voidCommandExpired(TUint)
IMPORT_C TIntNewCommand(const TRemConAddress &)
IMPORT_C TIntNewCommand(const TRemConAddress &, const TRemConClientId &)
IMPORT_C TUintNewTransactionId()
IMPORT_C TIntRemoveAddressing(const TRemConAddress &)
IMPORT_C TIntSetAddressedClient(const TRemConAddress &, const TRemConClientId &)
Private Member Functions
voidMrcbboDoCommandExpired(TUint)
TInt MrcbboDoNewCommand(const TRemConAddress &)
TInt MrcbboDoNewCommand(const TRemConAddress &, const TRemConClientId &)
TUint MrcbboDoNewTransactionId()
TInt MrcbboDoRemoveAddressing(const TRemConAddress &)
TInt MrcbboDoSetAddressedClient(const TRemConAddress &, const TRemConClientId &)

Member Functions Documentation

CommandExpired(TUint)

IMPORT_C voidCommandExpired(TUintaTransactionId)

Called by a bearer when a command is no longer valid and should be removed from RemCon's queues

Parameters

TUint aTransactionIdThe transaction ID of the expired command

MrcbboDoCommandExpired(TUint)

voidMrcbboDoCommandExpired(TUintaTransactionId)[private, pure virtual]

Parameters

TUint aTransactionId

MrcbboDoNewCommand(const TRemConAddress &)

TInt MrcbboDoNewCommand(const TRemConAddress &aAddr)[private, pure virtual]

Parameters

const TRemConAddress & aAddr

MrcbboDoNewCommand(const TRemConAddress &, const TRemConClientId &)

TInt MrcbboDoNewCommand(const TRemConAddress &aAddr,
const TRemConClientId &aClient
)[private, pure virtual]

Parameters

const TRemConAddress & aAddr
const TRemConClientId & aClient

MrcbboDoNewTransactionId()

TUint MrcbboDoNewTransactionId()[private, pure virtual]

TransactionId.

MrcbboDoRemoveAddressing(const TRemConAddress &)

TInt MrcbboDoRemoveAddressing(const TRemConAddress &aAddr)[private, pure virtual]

Parameters

const TRemConAddress & aAddr

MrcbboDoSetAddressedClient(const TRemConAddress &, const TRemConClientId &)

TInt MrcbboDoSetAddressedClient(const TRemConAddress &aAddr,
const TRemConClientId &aClient
)[private, pure virtual]

Parameters

const TRemConAddress & aAddr
const TRemConClientId & aClient

NewCommand(const TRemConAddress &)

IMPORT_C TIntNewCommand(const TRemConAddress &aAddr)

Called when an incoming command from a remote is ready to be picked up by RemCon.

Parameters

const TRemConAddress & aAddrThe address the command came from.

NewCommand(const TRemConAddress &, const TRemConClientId &)

IMPORT_C TIntNewCommand(const TRemConAddress &aAddr,
const TRemConClientId &aClient
)

Called when an incoming command from a remote is ready to be picked up by RemCon. This overload is used when the command is for a stateless interface and must be delivered to a particular client.

Parameters

const TRemConAddress & aAddrThe address the command came from.
const TRemConClientId & aClient

NewTransactionId()

IMPORT_C TUintNewTransactionId()

Called by a bearer when a new command has come in. RemCon returns a cookie (a transaction id), guaranteed to be unique, which the bearer may use for its own identification purposes.

RemoveAddressing(const TRemConAddress &)

IMPORT_C TIntRemoveAddressing(const TRemConAddress &aAddr)

Called by a bearer to remove any addressing to particular clients for an address.

Parameters

const TRemConAddress & aAddrThe address of received commands that are no longer to be delivered to specified clients.

SetAddressedClient(const TRemConAddress &, const TRemConClientId &)

IMPORT_C TIntSetAddressedClient(const TRemConAddress &aAddr,
const TRemConClientId &aClient
)

Called by a bearer to select the client to which commands should be addressed.

Parameters

const TRemConAddress & aAddrThe address for received commands to be delivered to a specific client.
const TRemConClientId & aClientThe client to which commands received from the given address should be delievered to.