MRemConBearerInterfaceV3 Class Reference
class MRemConBearerInterfaceV3 : public MRemConBearerInterfaceV2
|
Public Member Functions
|
void
|
ClientAvailable
(
TRemConClientId
&,
TPlayerType
,
TPlayerSubType
, const
TDesC8
&)
|
void
|
ClientNotAvailable
(
TRemConClientId
&)
|
void
|
ControllerFeaturesUpdated
(
RArray
<
TUid
> &)
|
TInt
|
GetNotifyResponse
(
TUid
&,
TUint
&,
TUint
&,
RBuf8
&,
TRemConAddress
&,
TRemConMessageSubType
&)
|
TInt
|
SendNotifyCommand
(
TUid
,
TUint
,
TUint
,
RBuf8
&, const
TRemConAddress
&)
|
TInt
|
SetLocalAddressedClient
(
TRemConClientId
&)
|
Inherited Functions
|
|
MRemConBearerInterface::ClientStatus(TBool,TBool)
|
|
MRemConBearerInterface::ConnectRequest(const TRemConAddress &)
|
|
MRemConBearerInterface::DisconnectRequest(const TRemConAddress &)
|
|
MRemConBearerInterface::GetCommand(TUid &,TUint &,TUint &,RBuf8 &,TRemConAddress &)
|
|
MRemConBearerInterface::GetResponse(TUid &,TUint &,TUint &,RBuf8 &,TRemConAddress &)
|
|
MRemConBearerInterface::SecurityPolicy()const
|
|
MRemConBearerInterface::SendCommand(TUid,TUint,TUint,RBuf8 &,const TRemConAddress &)
|
|
MRemConBearerInterface::SendResponse(TUid,TUint,TUint,RBuf8 &,const TRemConAddress &)
|
|
MRemConBearerInterfaceV2::GetNotifyCommand(TUid &,TUint &,TUint &,RBuf8 &,TRemConAddress &)
|
|
MRemConBearerInterfaceV2::SendReject(TUid,TUint,TUint,const TRemConAddress &)
|
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 &)
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.
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 &)
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 &)
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 &)
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.
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.