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 void CommandExpired ( TUint )
IMPORT_C TInt NewCommand (const TRemConAddress &)
IMPORT_C TInt NewCommand (const TRemConAddress &, const TRemConClientId &)
IMPORT_C TUint NewTransactionId ()
IMPORT_C TInt RemoveAddressing (const TRemConAddress &)
IMPORT_C TInt SetAddressedClient (const TRemConAddress &, const TRemConClientId &)
Private Member Functions
void MrcbboDoCommandExpired ( 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 void CommandExpired ( TUint aTransactionId )

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

Parameters

TUint aTransactionId The transaction ID of the expired command

MrcbboDoCommandExpired(TUint)

void MrcbboDoCommandExpired ( TUint aTransactionId ) [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 TInt NewCommand ( const TRemConAddress & aAddr )

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

Parameters

const TRemConAddress & aAddr The address the command came from.

NewCommand(const TRemConAddress &, const TRemConClientId &)

IMPORT_C TInt NewCommand ( 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 & aAddr The address the command came from.
const TRemConClientId & aClient

NewTransactionId()

IMPORT_C TUint NewTransactionId ( )

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 TInt RemoveAddressing ( const TRemConAddress & aAddr )

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

Parameters

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

SetAddressedClient(const TRemConAddress &, const TRemConClientId &)

IMPORT_C TInt SetAddressedClient ( const TRemConAddress & aAddr,
const TRemConClientId & aClient
)

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

Parameters

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