MRemConBearerInterfaceV3 Class Reference

class MRemConBearerInterfaceV3 : public MRemConBearerInterfaceV2

Inherits from

Member Functions Documentation

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

void ClientAvailable ( TRemConClientId & aId,
TPlayerType aClientType,
TPlayerSubType aClientSubType,
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 & aId A unique identifier for this client, that can be used when addressing incoming commands.
TPlayerType aClientType The basic type of this client
TPlayerSubType aClientSubType More detailed type information on this client
const TDesC8 & aName The name of this client in UTF-8. This remains valid until ClientNotAvailable is called for this player.

ClientNotAvailable(TRemConClientId &)

void ClientNotAvailable ( 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 & aId The client that has ceased to be available.

ControllerFeaturesUpdated(RArray< TUid > &)

void ControllerFeaturesUpdated ( 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 > & aSupportedInterfaces An 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 & aInterfaceUid The UID of the outer-layer client API specifying the response.
TUint & aId
TUint & aOperationId The ID of the response operation in the outer-layer client API.
RBuf8 & aCommandData
TRemConAddress & aAddr The connection.
TRemConMessageSubType & aSubMessageType

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

TInt SendNotifyCommand ( TUid aInterfaceUid,
TUint aOperationId,
TUint aTransactionId,
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 aInterfaceUid The UID of the outer-layer client API specifying the command.
TUint aOperationId The ID of the command operation in the outer-layer client API.
TUint aTransactionId The command identifier used as a cookie for command/response matching.
RBuf8 & aData API-specific message data. On success, ownership is passed.
const TRemConAddress & aAddr The 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 & aId The client to which this bearer should route addressed commands.