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 & aInterfaceUid The UID of the outer-layer client API specifying the notify command.
TUint & aTransactionId The command identifier used as a cookie for command/response matching.
TUint & aOperationId The ID of the command operation in the outer-layer client API.
RBuf8 & aData API-specific message data. On success, ownership is returned.
TRemConAddress & aAddr The connection.

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

void SendReject ( TUid aInterfaceUid,
TUint aOperationId,
TUint aTransactionId,
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 aInterfaceUid The UID of the outer-layer client API that the command was sent to
TUint aOperationId The ID of the command operation sent to remcon
TUint aTransactionId The command identifier used as a cookie for command/response matching.
const TRemConAddress & aAddr The connection.