MRemConBearerInterfaceV3 Class Reference

class MRemConBearerInterfaceV3 : public MRemConBearerInterfaceV2

Inherits from

Member Functions Documentation

ClientAvailable(TRemConClientId &, TPlayerType, TPlayerSubType, const TDesC8 &)

voidClientAvailable(TRemConClientId &aId,
TPlayerTypeaClientType,
TPlayerSubTypeaClientSubType,
const TDesC8 &aName
)[pure virtual]

Called by RemCon when a client has become available for addressing. Once this call has been made the bearer may use the provided TRemConClientId to address incoming commands and notifys to this client until RemCon calls ClientNotAvailable with this TRemConClientId.

Parameters

TRemConClientId & aIdA unique identifier for this client, that can be used when addressing incoming commands.
TPlayerType aClientTypeThe basic type of this client
TPlayerSubType aClientSubTypeMore detailed type information on this client
const TDesC8 & aNameThe name of this client in UTF-8. This remains valid until ClientNotAvailable is called for this player.

ClientNotAvailable(TRemConClientId &)

voidClientNotAvailable(TRemConClientId &aId)[pure virtual]

Called by RemCon when a client is no longer available for addressing. Once this call has been made the bearer shall not use this client id when addressing incoming commands and notifys until informed that the client is available again via ClientAvailable.

Parameters

TRemConClientId & aIdThe client that has ceased to be available.

ControllerFeaturesUpdated(RArray< TUid > &)

voidControllerFeaturesUpdated(RArray< TUid > &aSupportedInterfaces)[pure virtual]

Called by RemCon when a controller client is opened or closed to provide the current set of interfaces supported by controller sessions. This is not guaranteed to have changed since the last time the function was called.

Parameters

RArray< TUid > & aSupportedInterfacesAn RArray of interface UIDs. Ownership is retained by RemCon and its lifetime is not guaranteed to last beyond the scope of this function. Each supported interface appears once in the array irrespective of how many controller sessions support that interface.

GetNotifyResponse(TUid &, TUint &, TUint &, RBuf8 &, TRemConAddress &, TRemConMessageSubType &)

TInt GetNotifyResponse(TUid &aInterfaceUid,
TUint &aId,
TUint &aOperationId,
RBuf8 &aCommandData,
TRemConAddress &aAddr,
TRemConMessageSubType &aSubMessageType
)[pure virtual]

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

Parameters

TUid & aInterfaceUidThe UID of the outer-layer client API specifying the response.
TUint & aId
TUint & aOperationIdThe ID of the response operation in the outer-layer client API.
RBuf8 & aCommandData
TRemConAddress & aAddrThe connection.
TRemConMessageSubType & aSubMessageType

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

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

Called by RemCon to send a notify command 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 command.
TUint aOperationIdThe ID of the command 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.

SetLocalAddressedClient(TRemConClientId &)

TInt SetLocalAddressedClient(TRemConClientId &aId)[pure virtual]

Called by RemCon when the TSP has requested this bearer use a different addressed client.

Parameters

TRemConClientId & aIdThe client to which this bearer should route addressed commands.