MRemConBearerInterfaceV2 Class Reference

class MRemConBearerInterfaceV2 : public MRemConBearerInterface

Inherits from

Member Functions Documentation

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

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

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

Parameters

TUid & aInterfaceUidThe UID of the outer-layer client API specifying the notify 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.

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

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

Called by RemCon when either a) The TSP does not address a command to any clients b) The TSP does not permit the response from any commands c) All the clients disconnect from remcon before the response is sent, to send a reject on a connection. RemCon will call this function after bringing up the connection.

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 aTransactionIdThe command identifier used as a cookie for command/response matching.
const TRemConAddress & aAddrThe connection.