MRemConBearerBulkInterface Class Reference

class MRemConBearerBulkInterface

Mixin for the bearer API.

Member Functions Documentation

MrcbbiBulkClientAvailable(const TRemConClientId &)

voidMrcbbiBulkClientAvailable(const TRemConClientId &aId)[pure virtual]

Called by RemCon when a bulk client becomes available. The provided client ID will be shared with the associated control client.

Parameters

const TRemConClientId & aIdThe ID of the bulk client that has become available.

MrcbbiBulkClientNotAvailable(const TRemConClientId &)

voidMrcbbiBulkClientNotAvailable(const TRemConClientId &aId)[pure virtual]

Called by RemCon when a bulk client is no longer available.

Parameters

const TRemConClientId & aIdThe ID of the bulk client that is no longer available.

MrcbbiGetCommand(TUid &, TUint &, TUint &, RBuf8 &, TRemConAddress &)

TInt MrcbbiGetCommand(TUid &aInterfaceUid,
TUint &aTransactionId,
TUint &aOperationId,
RBuf8 &aData,
TRemConAddress &aAddr
)[pure virtual]

Called by RemCon to retrieve a command on a connection. Must only be called as a result of a NewCommand up-call.

Parameters

TUid & aInterfaceUidThe UID of the outer-layer client API specifying the command.
TUint & aTransactionIdThe command identifier used as a cookie for command/response matching.
TUint & aOperationIdThe ID of the command operation in the outer-layer client API.
RBuf8 & aDataAPI-specific message data. On success, ownership is returned.
TRemConAddress & aAddrThe connection.

MrcbbiSendReject(TUid, TUint, TUint, const TRemConAddress &)

voidMrcbbiSendReject(TUidaInterfaceUid,
TUintaOperationId,
TUintaTransactionId,
const TRemConAddress &aAddr
)[pure virtual]

Called by RemCon when all appropriate clients disconnect from remcon before the response is sent.

Parameters

TUid aInterfaceUidThe UID of the outer-layer client API that the command was sent to
TUint aOperationIdThe ID of the command operation sent to remcon
TUint aTransactionId
const TRemConAddress & aAddrThe connection.

MrcbbiSendResponse(TUid, TUint, TUint, RBuf8 &, const TRemConAddress &)

TInt MrcbbiSendResponse(TUidaInterfaceUid,
TUintaOperationId,
TUintaTransactionId,
RBuf8 &aData,
const TRemConAddress &aAddr
)[pure virtual]

Called by RemCon to send a response on a connection. The connection is not assumed to exist- the bearer is responsible for bringing up the requested connection if necessary.

Parameters

TUid aInterfaceUidThe UID of the outer-layer client API specifying the response.
TUint aOperationIdThe ID of the response operation in the outer-layer client API.
TUint aTransactionIdThe command identifier used as a cookie for command/response matching
RBuf8 & aDataAPI-specific message data. On success, ownership is passed.
const TRemConAddress & aAddrThe connection.

MrcbbiStartBulk(MRemConBearerBulkObserver &)

TInt MrcbbiStartBulk(MRemConBearerBulkObserver &aObserver)[pure virtual]

Called by RemCon to initialise the bulk service. This call will be made in the context of the bulk server thread.

Parameters

MRemConBearerBulkObserver & aObserverThe bulk bearer observer.

MrcbbiStopBulk()

voidMrcbbiStopBulk()[pure virtual]

Called by RemCon to disable the bulk service. This call will be made in the context of the bulk server thread. The bearer should use this opportunity to cancel any outstanding bulk services.