MRemConBearerInterface Class Reference
class MRemConBearerInterface
|
Mixin for the bearer API.
Public Member Functions
|
void
|
ClientStatus
(
TBool
,
TBool
)
|
void
|
ConnectRequest
(const
TRemConAddress
&)
|
void
|
DisconnectRequest
(const
TRemConAddress
&)
|
TInt
|
GetCommand
(
TUid
&,
TUint
&,
TUint
&,
RBuf8
&,
TRemConAddress
&)
|
TInt
|
GetResponse
(
TUid
&,
TUint
&,
TUint
&,
RBuf8
&,
TRemConAddress
&)
|
TSecurityPolicy
|
SecurityPolicy
()
|
TInt
|
SendCommand
(
TUid
,
TUint
,
TUint
,
RBuf8
&, const
TRemConAddress
&)
|
TInt
|
SendResponse
(
TUid
,
TUint
,
TUint
,
RBuf8
&, const
TRemConAddress
&)
|
Member Functions Documentation
ClientStatus(TBool, TBool)
void
|
ClientStatus
|
(
|
TBool
|
aControllerPresent,
|
|
TBool
|
aTargetPresent
|
|
)
|
[pure virtual]
|
Called by RemCon when either (a) the number of controller clients changes from 0 to 1 or from 1 to 0, or (b) the number of target clients changes from 0 to 1 or from 1 to 0.
Parameters
TBool
aControllerPresent
|
Is true if any controllers are present, EFalse otherwise.
|
TBool
aTargetPresent
|
Is true if any targets are present, EFalse otherwise.
|
ConnectRequest(const TRemConAddress &)
Called by RemCon to establish a bearer-level connection to another party. Completion is signalled back in ConnectConfirm.
DisconnectRequest(const TRemConAddress &)
void
|
DisconnectRequest
|
(
|
const
TRemConAddress
&
|
aAddr
|
)
|
[pure virtual]
|
Called by RemCon to destroy a bearer-level connection to another party. Completion is signalled back in DisconnectConfirm.
GetCommand(TUid &, TUint &, TUint &, RBuf8 &, TRemConAddress &)
Called by RemCon to retrieve a command on a connection. Must only be called as a result of a NewCommand up-call.
Parameters
TUid
& aInterfaceUid
|
The UID of the outer-layer client API specifying the 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.
|
GetResponse(TUid &, TUint &, TUint &, RBuf8 &, TRemConAddress &)
Called by RemCon to retrieve a response on a connection. Must only be called as a result of a NewResponse up-call.
Parameters
TUid
& aInterfaceUid
|
The UID of the outer-layer client API specifying the response.
|
TUint
& aTransactionId
|
The command identifier used as a cookie for command/response matching.
|
TUint
& aOperationId
|
The ID of the response operation in the outer-layer client API.
|
RBuf8
& aData
|
API-specific message data. On success, ownership is returned.
|
TRemConAddress
& aAddr
|
The connection.
|
SecurityPolicy()
Called by RemCon to get the capabilities required to make/destroy connections over the bearer, and to send and receive messages over the bearer.
SendCommand(TUid, TUint, TUint, RBuf8 &, const TRemConAddress &)
Called by RemCon to send a 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.
|
SendResponse(TUid, TUint, TUint, RBuf8 &, const TRemConAddress &)
Called by RemCon to send a response 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 response.
|
TUint
aOperationId
|
The ID of the response 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.
|
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.