CAvctpBody Class Reference
class CAvctpBody : public CBase
|
This class is the handle of the
RAvctp
/
CAvctpBody
pair. It implements the AVCTP interface presented by
RAvctp
. It owns a couple of Sender/Receiver for the primary channel and a couple for the secondary channel. CAvctpSender and CAvctpReceiver are active objects.
Constructor & Destructor Documentation
CAvctpBody(MAvctpEventNotify &, SymbianAvctp::TPid)
Member Functions Documentation
Close(RAvctp::TCloseType)
ConstructL(MAvctpChannel *&)
DoInstallSecondaryChannelL(MAvctpEventNotify &, MAvctpChannel *&)
InstallSecondaryChannel(MAvctpEventNotify &, MAvctpChannel *&)
IsAttached(const TBTDevAddr &)
NewL(MAvctpEventNotify &, SymbianAvctp::TPid, MAvctpChannel *&)
NewLC(MAvctpEventNotify &, SymbianAvctp::TPid, MAvctpChannel *&)
PrimaryChannelAttachRequest(const TBTDevAddr &)
Function from the AVCTP spec to request a channel connection to a remote entity.
PrimaryChannelCancelAttach(const TBTDevAddr &)
void
|
PrimaryChannelCancelAttach
|
(
|
const
TBTDevAddr
&
|
aBTDevice
|
)
|
|
PrimaryChannelCancelSend()
void
|
PrimaryChannelCancelSend
|
(
|
)
|
|
PrimaryChannelDetachRequest(const TBTDevAddr &)
Function from the AVCTP spec to explicitly request disconnection of an existing channel.
Parameters
const
TBTDevAddr
& aBTDevice
|
The remote device to disconnect
|
SecondaryChannelAttachRequest(const TBTDevAddr &)
SecondaryChannelCancelAttach(const TBTDevAddr &)
void
|
SecondaryChannelCancelAttach
|
(
|
const
TBTDevAddr
&
|
aBTDevice
|
)
|
|
SecondaryChannelCancelSend()
void
|
SecondaryChannelCancelSend
|
(
|
)
|
|
SecondaryChannelDetachRequest(const TBTDevAddr &)
SendMessage(const TBTDevAddr &, SymbianAvctp::TTransactionLabel, SymbianAvctp::TMessageType, const TDesC8 &, TBool)
TInt
|
SendMessage
|
(
|
const
TBTDevAddr
&
|
aBTDevice,
|
|
SymbianAvctp::TTransactionLabel
|
aTransactionLabel,
|
|
SymbianAvctp::TMessageType
|
aType,
|
|
const
TDesC8
&
|
aMessageInformation,
|
|
TBool
|
aIsSecondChannel
|
|
)
|
|
Parameters
const
TBTDevAddr
& aBTDevice
|
|
SymbianAvctp::TTransactionLabel
aTransactionLabel
|
|
SymbianAvctp::TMessageType
aType
|
|
const
TDesC8
& aMessageInformation
|
|
TBool
aIsSecondChannel
|
|
UninstallSecondaryChannel(RAvctp::TCloseType)
Member Data Documentation
RSocket
iAvctpPrimaryDataSocket
RSocket
|
iAvctpPrimaryDataSocket
|
[private]
|
RSocket
iAvctpSecondaryDataSocket
RSocket
|
iAvctpSecondaryDataSocket
|
[private]
|
MAvctpEventNotify & iNotify
SymbianAvctp::TPid
iPid
SymbianAvctp::TPid
|
iPid
|
[private]
|
TPrimaryChannelProxy * iPrimaryChannelProxy
CAvctpReceiver * iPrimaryChannelReceiver
CAvctpReceiver *
|
iPrimaryChannelReceiver
|
[private]
|
CAvctpSender * iPrimaryChannelSender
CAvctpSender *
|
iPrimaryChannelSender
|
[private]
|
CAvctpRemoteDevices * iRemoteDevices
CAvctpRemoteDevices *
|
iRemoteDevices
|
[private]
|
MAvctpEventNotify * iSecondaryChannelNotify
TSecondaryChannelProxy * iSecondaryChannelProxy
CAvctpReceiver * iSecondaryChannelReceiver
CAvctpReceiver *
|
iSecondaryChannelReceiver
|
[private]
|
CAvctpSender * iSecondaryChannelSender
CAvctpSender *
|
iSecondaryChannelSender
|
[private]
|
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.