CUpnpAVControlPoint Class Reference

class CUpnpAVControlPoint : public CUpnpControlPoint

Main class of AV Control Point. This class serves as an interface to AVCP library and contais functions for UPnP Action creation and sending as well as receiving Action responses and UPnP events.

Prior using the CUpnpAVControlPoint class, client application has to create the network connection. If connection is not up and running, the CUpnpDispatcherEngine class construction will fail. See UPnP Interface Design document for instuctions.

Since
Series 60 2.6

Inherits from

Public Member Functions
~CUpnpAVControlPoint()
IMPORT_C TIntAvtDeviceCapabilitiesActionL(const TDesC8 &, TInt)
IMPORT_C TIntAvtMediaInfoActionL(const TDesC8 &, TInt)
IMPORT_C TIntAvtNextActionL(const TDesC8 &, TInt)
IMPORT_C TIntAvtPauseActionL(const TDesC8 &, TInt)
IMPORT_C TIntAvtPlayActionL(const TDesC8 &, TInt, const TDesC8 &)
IMPORT_C TIntAvtPositionInfoActionL(const TDesC8 &, TInt)
IMPORT_C TIntAvtPreviousActionL(const TDesC8 &, TInt)
IMPORT_C TIntAvtRecordActionL(const TDesC8 &, TInt)
IMPORT_C TIntAvtSeekActionL(const TDesC8 &, TInt, const TDesC8 &, const TDesC8 &)
IMPORT_C TIntAvtSetNextTransportUriActionL(const TDesC8 &, TInt, const TDesC8 &, const TDesC8 &)
IMPORT_C TIntAvtSetPlayModeActionL(const TDesC8 &, TInt, const TDesC8 &)
IMPORT_C TIntAvtSetRecordModeActionL(const TDesC8 &, TInt, const TDesC8 &)
IMPORT_C TIntAvtSetTransportUriActionL(const TDesC8 &, TInt, const TDesC8 &, const TDesC8 &)
IMPORT_C TIntAvtStopActionL(const TDesC8 &, TInt)
IMPORT_C TIntAvtTransportInfoActionL(const TDesC8 &, TInt)
IMPORT_C TIntAvtTransportSettingsActionL(const TDesC8 &, TInt)
IMPORT_C TIntAvtTransportsActionL(const TDesC8 &, TInt)
IMPORT_C TIntCdsBrowseActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt, TInt, const TDesC8 &)
IMPORT_C TIntCdsCreateObjectActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C TIntCdsCreateReferenceActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C TIntCdsDeleteResourceActionL(const TDesC8 &, const TDesC8 &)
IMPORT_C TIntCdsDestroyObjectActionL(const TDesC8 &, const TDesC8 &)
IMPORT_C TIntCdsExportResourceActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C TIntCdsImportResourceActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C TIntCdsSearchActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt, TInt, const TDesC8 &)
IMPORT_C TIntCdsSearchCapabilitiesActionL(const TDesC8 &)
IMPORT_C TIntCdsSortCapabilitiesActionL(const TDesC8 &)
IMPORT_C TIntCdsStopTransferActionL(const TDesC8 &, TInt)
IMPORT_C TIntCdsSystemUpdateIdActionL(const TDesC8 &)
IMPORT_C TIntCdsTransferProgressActionL(const TDesC8 &, TInt)
IMPORT_C TIntCdsUpdateObjectActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C TIntCmConnectionCompleteActionL(const TDesC8 &, TInt)
IMPORT_C TIntCmCurrentConnectionInfoActionL(const TDesC8 &, TInt)
IMPORT_C TIntCmCurrentConnectionsActionL(const TDesC8 &)
IMPORT_C TIntCmPrepareConnectionActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt, const TDesC8 &)
IMPORT_C TIntCmProtocolInfoActionL(const TDesC8 &)
IMPORT_C voidNetworkEvent(CUpnpNetworkEventBase *)
IMPORT_C CUpnpAVControlPoint *NewL(MUpnpAVControlPointObserver &)
IMPORT_C TIntRcGetMuteActionL(const TDesC8 &, TInt, const TDesC8 &)
IMPORT_C TIntRcGetVolumetActionL(const TDesC8 &, TInt, const TDesC8 &)
IMPORT_C TIntRcSetMuteActionL(const TDesC8 &, TInt, const TDesC8 &, const TDesC8 &)
IMPORT_C TIntRcSetVolumetActionL(const TDesC8 &, TInt, const TDesC8 &, TInt)
IMPORT_C CUpnpService *Service(CUpnpDevice *, const TDesC8 &)
Protected Member Functions
CUpnpAVControlPoint(MUpnpAVControlPointObserver &)
IMPORT_C voidActionResponseReceivedL(CUpnpAction *)
IMPORT_C voidConstructL()
IMPORT_C voidDeviceDisappearedL(CUpnpDevice *)
IMPORT_C voidDeviceDiscoveredL(CUpnpDevice *)
IMPORT_C voidHttpResponseReceivedL(CUpnpHttpMessage *)
IMPORT_C voidInitializeCdsActionFactoryL()
IMPORT_C voidStateUpdatedL(CUpnpService *)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CUpnpControlPoint::ActionResponseReceived(CUpnpAction *)
CUpnpControlPoint::AddressChangedL()
CUpnpControlPoint::AllDevicesExpired(CUpnpDevice *)
CUpnpControlPoint::CUpnpControlPoint()
CUpnpControlPoint::CUpnpControlPoint(MUpnpCpStackRequestor &,MUpnpCpHttpRequestor &)
CUpnpControlPoint::ConstructL(const CDesC8Array &)
CUpnpControlPoint::ConstructL(const TDesC8 &)
CUpnpControlPoint::CreateSubscriptionMessageL(CUpnpService &,const TDesC8 &,TInt,THTTPMsgType)
CUpnpControlPoint::Device(const TDesC8 &)
CUpnpControlPoint::DeviceDisappeared(CUpnpDevice *)
CUpnpControlPoint::DeviceDiscovered(CUpnpDevice *)
CUpnpControlPoint::DeviceFoundL(CUpnpDevice &)
CUpnpControlPoint::DeviceList()const
CUpnpControlPoint::DeviceLostL(CUpnpDevice &)
CUpnpControlPoint::DisableRadaDeviceL()
CUpnpControlPoint::EnableRadaDeviceL()
CUpnpControlPoint::EnableRadaDeviceL(TRequestStatus &)
CUpnpControlPoint::GiveAddressL(const TDesC8 &)
CUpnpControlPoint::HandlePostponedInitialEventL(CUpnpGenaMessage &)
CUpnpControlPoint::HttpResponseReceived(CUpnpHttpMessage *)
CUpnpControlPoint::MessageReceived(CUpnpHttpMessage *)
CUpnpControlPoint::NotifyReceivedL(CUpnpHttpMessage &)
CUpnpControlPoint::Path()
CUpnpControlPoint::ProcessActionMessageL(CUpnpHttpMessage *)
CUpnpControlPoint::ProcessDeviceMessageL(CUpnpHttpMessage *)
CUpnpControlPoint::ProcessServiceMessageL(CUpnpHttpMessage *)
CUpnpControlPoint::ResubscribeL(CUpnpServiceInfo *)
CUpnpControlPoint::SearchL(const TDesC8 &)
CUpnpControlPoint::SendL(CUpnpAction *)
CUpnpControlPoint::SendL(CUpnpHttpMessage *)
CUpnpControlPoint::StartIPFilteringL(TFilteringMode)
CUpnpControlPoint::StateUpdated(CUpnpService *)
CUpnpControlPoint::StopIPFilteringL(TFilteringMode)
CUpnpControlPoint::SubscribeL(CUpnpService *)
CUpnpControlPoint::SubscriptionResponseReceivedL(CUpnpHttpMessage &)
CUpnpControlPoint::UnSubscriptionResponseReceived()
CUpnpControlPoint::UnsubscribeL(CUpnpService *,TBool)
CUpnpControlPoint::UnsubscribeL(const CUpnpService *)
CUpnpControlPoint::~CUpnpControlPoint()
Inherited Enumerations
CUpnpControlPoint:TFilteringMode
Protected Attributes
MUpnpAVControlPointObserver &iAVControlPointObserver
CUpnpActionResponseHandler *iActionResponseHandler
CUpnpAvtActionFactory *iAvtActionFactory
CUpnpCdsActionFactory *iCdsActionFactory
CUpnpCmActionFactory *iCmActionFactory
CUpnpRcActionFactory *iRcActionFactory
CUpnpStateUpdateHandler *iStateUpdateHandler
Inherited Attributes
CUpnpControlPoint::KDefaultSubscriptionTimeout

Constructor & Destructor Documentation

CUpnpAVControlPoint(MUpnpAVControlPointObserver &)

IMPORT_CCUpnpAVControlPoint(MUpnpAVControlPointObserver &aAVControlPointObserver)[protected]

C++ default constructor.

Parameters

MUpnpAVControlPointObserver & aAVControlPointObserver

~CUpnpAVControlPoint()

IMPORT_C~CUpnpAVControlPoint()[virtual]

Destructor.

Member Functions Documentation

ActionResponseReceivedL(CUpnpAction *)

IMPORT_C voidActionResponseReceivedL(CUpnpAction *aAction)[protected, virtual]

From CUpnpControlPoint Action response handler function.

Parameters

CUpnpAction * aAction

AvtDeviceCapabilitiesActionL(const TDesC8 &, TInt)

IMPORT_C TIntAvtDeviceCapabilitiesActionL(const TDesC8 &aUuid,
TIntaInstanceId
)
Creates and sends a GetDeviceCapabilities action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.

AvtMediaInfoActionL(const TDesC8 &, TInt)

IMPORT_C TIntAvtMediaInfoActionL(const TDesC8 &aUuid,
TIntaInstanceId
)
Creates and sends a GetMediaInfo action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.

AvtNextActionL(const TDesC8 &, TInt)

IMPORT_C TIntAvtNextActionL(const TDesC8 &aUuid,
TIntaInstanceId
)
Creates and sends a Next action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.

AvtPauseActionL(const TDesC8 &, TInt)

IMPORT_C TIntAvtPauseActionL(const TDesC8 &aUuid,
TIntaInstanceId
)
Creates and sends a Pause action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.

AvtPlayActionL(const TDesC8 &, TInt, const TDesC8 &)

IMPORT_C TIntAvtPlayActionL(const TDesC8 &aUuid,
TIntaInstanceId,
const TDesC8 &aSpeed
)
Creates and sends a Play action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.
const TDesC8 & aSpeedSpeed of playback.

AvtPositionInfoActionL(const TDesC8 &, TInt)

IMPORT_C TIntAvtPositionInfoActionL(const TDesC8 &aUuid,
TIntaInstanceId
)
Creates and sends a GetPositionInfo action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.

AvtPreviousActionL(const TDesC8 &, TInt)

IMPORT_C TIntAvtPreviousActionL(const TDesC8 &aUuid,
TIntaInstanceId
)
Creates and sends a Previous action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.

AvtRecordActionL(const TDesC8 &, TInt)

IMPORT_C TIntAvtRecordActionL(const TDesC8 &aUuid,
TIntaInstanceId
)
Creates and sends a Record action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.

AvtSeekActionL(const TDesC8 &, TInt, const TDesC8 &, const TDesC8 &)

IMPORT_C TIntAvtSeekActionL(const TDesC8 &aUuid,
TIntaInstanceId,
const TDesC8 &aUnit,
const TDesC8 &aTarget
)
Creates and sends a Seek action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.
const TDesC8 & aUnit
const TDesC8 & aTarget

AvtSetNextTransportUriActionL(const TDesC8 &, TInt, const TDesC8 &, const TDesC8 &)

IMPORT_C TIntAvtSetNextTransportUriActionL(const TDesC8 &aUuid,
TIntaInstanceId,
const TDesC8 &aNextUri,
const TDesC8 &aNextMetaData
)
Creates and sends a SetNextTransportURI action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.
const TDesC8 & aNextUriContent URI.
const TDesC8 & aNextMetaDataContent metadata.

AvtSetPlayModeActionL(const TDesC8 &, TInt, const TDesC8 &)

IMPORT_C TIntAvtSetPlayModeActionL(const TDesC8 &aUuid,
TIntaInstanceId,
const TDesC8 &aPlayMode
)
Creates and sends a SetPlayMode action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.
const TDesC8 & aPlayMode

AvtSetRecordModeActionL(const TDesC8 &, TInt, const TDesC8 &)

IMPORT_C TIntAvtSetRecordModeActionL(const TDesC8 &aUuid,
TIntaInstanceId,
const TDesC8 &aRecordMode
)
Creates and sends a SetRecordQualityMode action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.
const TDesC8 & aRecordMode

AvtSetTransportUriActionL(const TDesC8 &, TInt, const TDesC8 &, const TDesC8 &)

IMPORT_C TIntAvtSetTransportUriActionL(const TDesC8 &aUuid,
TIntaInstanceId,
const TDesC8 &aCurrentUri,
const TDesC8 &aCurrentMetaData
)
Device getter.
Since
Series 60 2.6
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.
const TDesC8 & aCurrentUriContent URI.
const TDesC8 & aCurrentMetaDataContent metadata.

AvtStopActionL(const TDesC8 &, TInt)

IMPORT_C TIntAvtStopActionL(const TDesC8 &aUuid,
TIntaInstanceId
)
Creates and sends a Stop action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.

AvtTransportInfoActionL(const TDesC8 &, TInt)

IMPORT_C TIntAvtTransportInfoActionL(const TDesC8 &aUuid,
TIntaInstanceId
)
Creates and sends a GetTransportInfo action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.

AvtTransportSettingsActionL(const TDesC8 &, TInt)

IMPORT_C TIntAvtTransportSettingsActionL(const TDesC8 &aUuid,
TIntaInstanceId
)
Creates and sends a GetTransportSetings action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.

AvtTransportsActionL(const TDesC8 &, TInt)

IMPORT_C TIntAvtTransportsActionL(const TDesC8 &aUuid,
TIntaInstanceId
)
Creates and sends a GetTransportIDs action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.

CdsBrowseActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt, TInt, const TDesC8 &)

IMPORT_C TIntCdsBrowseActionL(const TDesC8 &aUuid,
const TDesC8 &aObjectId,
const TDesC8 &aBrowseFlag,
const TDesC8 &aFilter,
TIntaStartingIndex,
TIntaRequestedCount,
const TDesC8 &aSortCriteria
)
Creates and sends a Browse action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
const TDesC8 & aObjectIdTarget's id.
const TDesC8 & aBrowseFlagMetaData or DirectChildren.
const TDesC8 & aFilterWhat is returned.
TInt aStartingIndexFirst returned item.
TInt aRequestedCountHow manyy items is returned.
const TDesC8 & aSortCriteriaSorting order.

CdsCreateObjectActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

IMPORT_C TIntCdsCreateObjectActionL(const TDesC8 &aUuid,
const TDesC8 &aId,
const TDesC8 &aElements
)
Creates and sends a CreateObject action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
const TDesC8 & aIdParent container.
const TDesC8 & aElementsObject in XML form.

CdsCreateReferenceActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

IMPORT_C TIntCdsCreateReferenceActionL(const TDesC8 &aUuid,
const TDesC8 &aDestinationContainerId,
const TDesC8 &aSourceObjectId
)
Creates and sends a CreteReference action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
const TDesC8 & aDestinationContainerIdPlace for reference.
const TDesC8 & aSourceObjectIdReferred object.

CdsDeleteResourceActionL(const TDesC8 &, const TDesC8 &)

IMPORT_C TIntCdsDeleteResourceActionL(const TDesC8 &aUuid,
const TDesC8 &aResourceUri
)
Creates and sends a DeleteResource action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
const TDesC8 & aResourceUriResource to be deleted.

CdsDestroyObjectActionL(const TDesC8 &, const TDesC8 &)

IMPORT_C TIntCdsDestroyObjectActionL(const TDesC8 &aUuid,
const TDesC8 &aObjectId
)
Creates and sends a DestroyObject action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
const TDesC8 & aObjectIdObject to be destroyed.

CdsExportResourceActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

IMPORT_C TIntCdsExportResourceActionL(const TDesC8 &aUuid,
const TDesC8 &aSourceUri,
const TDesC8 &aDestinationUri
)
Creates and sends a ExportResource action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
const TDesC8 & aSourceUriSource of export.
const TDesC8 & aDestinationUriDestination of export.

CdsImportResourceActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

IMPORT_C TIntCdsImportResourceActionL(const TDesC8 &aUuid,
const TDesC8 &aSourceUri,
const TDesC8 &aDestinationUri
)
Creates and sends a ImportResource action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
const TDesC8 & aSourceUriSource of import.
const TDesC8 & aDestinationUriDestination of import.

CdsSearchActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt, TInt, const TDesC8 &)

IMPORT_C TIntCdsSearchActionL(const TDesC8 &aUuid,
const TDesC8 &aObjectId,
const TDesC8 &aSearchCriteria,
const TDesC8 &aFilter,
TIntaStartingIndex,
TIntaRequestedCount,
const TDesC8 &aSortCriteria
)
Creates and sends a Search action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
const TDesC8 & aObjectIdTarget's id.
const TDesC8 & aSearchCriteriaSearch rules.
const TDesC8 & aFilterWhat is returned.
TInt aStartingIndexFirst returned item.
TInt aRequestedCountHow manyy items is returned.
const TDesC8 & aSortCriteriaSorting order.

CdsSearchCapabilitiesActionL(const TDesC8 &)

IMPORT_C TIntCdsSearchCapabilitiesActionL(const TDesC8 &aUuid)
Creates and sends a GetSearchCapabilities action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.

CdsSortCapabilitiesActionL(const TDesC8 &)

IMPORT_C TIntCdsSortCapabilitiesActionL(const TDesC8 &aUuid)
Creates and sends a GetSortCapabilities action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.

CdsStopTransferActionL(const TDesC8 &, TInt)

IMPORT_C TIntCdsStopTransferActionL(const TDesC8 &aUuid,
TIntaTransferId
)
Creates and sends a StopTransfer action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aTransferIdTransfer to be stopped.

CdsSystemUpdateIdActionL(const TDesC8 &)

IMPORT_C TIntCdsSystemUpdateIdActionL(const TDesC8 &aUuid)
Creates and sends a GetSystemUpdateID action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid

CdsTransferProgressActionL(const TDesC8 &, TInt)

IMPORT_C TIntCdsTransferProgressActionL(const TDesC8 &aUuid,
TIntaTransferId
)
Creates and sends a GetTransferProgress action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aTransferIdObserved transfer.

CdsUpdateObjectActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &)

IMPORT_C TIntCdsUpdateObjectActionL(const TDesC8 &aUuid,
const TDesC8 &aObjectID,
const TDesC8 &aCurrentTagValue,
const TDesC8 &aNewTagValue
)
Creates and sends a SetTransportURI action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
const TDesC8 & aObjectIDUpdated object.
const TDesC8 & aCurrentTagValueCurrent object XML.
const TDesC8 & aNewTagValueNew object XML.

CmConnectionCompleteActionL(const TDesC8 &, TInt)

IMPORT_C TIntCmConnectionCompleteActionL(const TDesC8 &aUuid,
TIntaConnectionId
)
Creates and sends a ConnectionComplete action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aConnectionId

CmCurrentConnectionInfoActionL(const TDesC8 &, TInt)

IMPORT_C TIntCmCurrentConnectionInfoActionL(const TDesC8 &aUuid,
TIntaConnectionId
)
Creates and sends a GetCurrentConnectionInfo action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aConnectionId

CmCurrentConnectionsActionL(const TDesC8 &)

IMPORT_C TIntCmCurrentConnectionsActionL(const TDesC8 &aUuid)
Creates and sends a GetCurrentConnections action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.

CmPrepareConnectionActionL(const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt, const TDesC8 &)

IMPORT_C TIntCmPrepareConnectionActionL(const TDesC8 &aUuid,
const TDesC8 &aRemoteProtocolInfo,
const TDesC8 &aPeerConnectionManager,
TIntaPeerConnectionID,
const TDesC8 &aDirection
)
Creates and sends a PrepareForConnection action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
const TDesC8 & aRemoteProtocolInfo
const TDesC8 & aPeerConnectionManager
TInt aPeerConnectionID
const TDesC8 & aDirection

CmProtocolInfoActionL(const TDesC8 &)

IMPORT_C TIntCmProtocolInfoActionL(const TDesC8 &aUuid)
Creates and sends a GetProtocolInfo action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.

ConstructL()

IMPORT_C voidConstructL()[protected]

By default Symbian 2nd phase constructor is private.

DeviceDisappearedL(CUpnpDevice *)

IMPORT_C voidDeviceDisappearedL(CUpnpDevice *aDevice)[protected, virtual]

From CUpnpControlPoint Device dissappear handler.

Parameters

CUpnpDevice * aDevice

DeviceDiscoveredL(CUpnpDevice *)

IMPORT_C voidDeviceDiscoveredL(CUpnpDevice *aDevice)[protected, virtual]

From CUpnpControlPoint Device discovery handler.

Parameters

CUpnpDevice * aDevice

HttpResponseReceivedL(CUpnpHttpMessage *)

IMPORT_C voidHttpResponseReceivedL(CUpnpHttpMessage *aMessage)[protected, virtual]

From CUpnpControlPoint HTTP message handler function.

Parameters

CUpnpHttpMessage * aMessage

InitializeCdsActionFactoryL()

IMPORT_C voidInitializeCdsActionFactoryL()[protected]

Initialize CdsActionFactory if is equal NULL

NetworkEvent(CUpnpNetworkEventBase *)

IMPORT_C voidNetworkEvent(CUpnpNetworkEventBase *aEvent)

This function will be invoke if some network event will occure for example IP Address of UPnP changes

Parameters

CUpnpNetworkEventBase * aEvent

NewL(MUpnpAVControlPointObserver &)

IMPORT_C CUpnpAVControlPoint *NewL(MUpnpAVControlPointObserver &aAVControlPointObserver)[static]

Two-phased constructor.

Parameters

MUpnpAVControlPointObserver & aAVControlPointObserver

RcGetMuteActionL(const TDesC8 &, TInt, const TDesC8 &)

IMPORT_C TIntRcGetMuteActionL(const TDesC8 &aUuid,
TIntaInstanceId,
const TDesC8 &aChannel
)
Creates and sends a GetMute action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.
const TDesC8 & aChannelAudio channel.

RcGetVolumetActionL(const TDesC8 &, TInt, const TDesC8 &)

IMPORT_C TIntRcGetVolumetActionL(const TDesC8 &aUuid,
TIntaInstanceID,
const TDesC8 &aChannel
)
Creates and sends a GetVolume action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIDRendring Instance.
const TDesC8 & aChannelAudio channel.

RcSetMuteActionL(const TDesC8 &, TInt, const TDesC8 &, const TDesC8 &)

IMPORT_C TIntRcSetMuteActionL(const TDesC8 &aUuid,
TIntaInstanceId,
const TDesC8 &aChannel,
const TDesC8 &aMute
)
Creates and sends a SetTransportURI action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.
const TDesC8 & aChannelAudio channel.
const TDesC8 & aMute

RcSetVolumetActionL(const TDesC8 &, TInt, const TDesC8 &, TInt)

IMPORT_C TIntRcSetVolumetActionL(const TDesC8 &aUuid,
TIntaInstanceId,
const TDesC8 &aChannel,
TIntaVolume
)
Creates and sends a SetVolume action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuidA Universal Unique Identifier of device.
TInt aInstanceIdRendring Instance.
const TDesC8 & aChannelAudio channel.
TInt aVolume

Service(CUpnpDevice *, const TDesC8 &)

IMPORT_C CUpnpService *Service(CUpnpDevice *aDevice,
const TDesC8 &aServiceType
)
Service search and getter function.
Since
Series 60 2.6

Parameters

CUpnpDevice * aDeviceTarget device of search.
const TDesC8 & aServiceTypeType of searched service.

StateUpdatedL(CUpnpService *)

IMPORT_C voidStateUpdatedL(CUpnpService *aService)[protected, virtual]

From CUpnpControlPoint State update handler.

Parameters

CUpnpService * aService

Member Data Documentation

MUpnpAVControlPointObserver & iAVControlPointObserver

MUpnpAVControlPointObserver &iAVControlPointObserver[protected]

CUpnpActionResponseHandler * iActionResponseHandler

CUpnpActionResponseHandler *iActionResponseHandler[protected]

CUpnpAvtActionFactory * iAvtActionFactory

CUpnpAvtActionFactory *iAvtActionFactory[protected]

CUpnpCdsActionFactory * iCdsActionFactory

CUpnpCdsActionFactory *iCdsActionFactory[protected]

CUpnpCmActionFactory * iCmActionFactory

CUpnpCmActionFactory *iCmActionFactory[protected]

CUpnpRcActionFactory * iRcActionFactory

CUpnpRcActionFactory *iRcActionFactory[protected]

CUpnpStateUpdateHandler * iStateUpdateHandler

CUpnpStateUpdateHandler *iStateUpdateHandler[protected]