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 TInt AvtDeviceCapabilitiesActionL (const TDesC8 &, TInt )
IMPORT_C TInt AvtMediaInfoActionL (const TDesC8 &, TInt )
IMPORT_C TInt AvtNextActionL (const TDesC8 &, TInt )
IMPORT_C TInt AvtPauseActionL (const TDesC8 &, TInt )
IMPORT_C TInt AvtPlayActionL (const TDesC8 &, TInt , const TDesC8 &)
IMPORT_C TInt AvtPositionInfoActionL (const TDesC8 &, TInt )
IMPORT_C TInt AvtPreviousActionL (const TDesC8 &, TInt )
IMPORT_C TInt AvtRecordActionL (const TDesC8 &, TInt )
IMPORT_C TInt AvtSeekActionL (const TDesC8 &, TInt , const TDesC8 &, const TDesC8 &)
IMPORT_C TInt AvtSetNextTransportUriActionL (const TDesC8 &, TInt , const TDesC8 &, const TDesC8 &)
IMPORT_C TInt AvtSetPlayModeActionL (const TDesC8 &, TInt , const TDesC8 &)
IMPORT_C TInt AvtSetRecordModeActionL (const TDesC8 &, TInt , const TDesC8 &)
IMPORT_C TInt AvtSetTransportUriActionL (const TDesC8 &, TInt , const TDesC8 &, const TDesC8 &)
IMPORT_C TInt AvtStopActionL (const TDesC8 &, TInt )
IMPORT_C TInt AvtTransportInfoActionL (const TDesC8 &, TInt )
IMPORT_C TInt AvtTransportSettingsActionL (const TDesC8 &, TInt )
IMPORT_C TInt AvtTransportsActionL (const TDesC8 &, TInt )
IMPORT_C TInt CdsBrowseActionL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt , TInt , const TDesC8 &)
IMPORT_C TInt CdsCreateObjectActionL (const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C TInt CdsCreateReferenceActionL (const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C TInt CdsDeleteResourceActionL (const TDesC8 &, const TDesC8 &)
IMPORT_C TInt CdsDestroyObjectActionL (const TDesC8 &, const TDesC8 &)
IMPORT_C TInt CdsExportResourceActionL (const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C TInt CdsImportResourceActionL (const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C TInt CdsSearchActionL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt , TInt , const TDesC8 &)
IMPORT_C TInt CdsSearchCapabilitiesActionL (const TDesC8 &)
IMPORT_C TInt CdsSortCapabilitiesActionL (const TDesC8 &)
IMPORT_C TInt CdsStopTransferActionL (const TDesC8 &, TInt )
IMPORT_C TInt CdsSystemUpdateIdActionL (const TDesC8 &)
IMPORT_C TInt CdsTransferProgressActionL (const TDesC8 &, TInt )
IMPORT_C TInt CdsUpdateObjectActionL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C TInt CmConnectionCompleteActionL (const TDesC8 &, TInt )
IMPORT_C TInt CmCurrentConnectionInfoActionL (const TDesC8 &, TInt )
IMPORT_C TInt CmCurrentConnectionsActionL (const TDesC8 &)
IMPORT_C TInt CmPrepareConnectionActionL (const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt , const TDesC8 &)
IMPORT_C TInt CmProtocolInfoActionL (const TDesC8 &)
IMPORT_C void NetworkEvent ( CUpnpNetworkEventBase *)
IMPORT_C CUpnpAVControlPoint * NewL ( MUpnpAVControlPointObserver &)
IMPORT_C TInt RcGetMuteActionL (const TDesC8 &, TInt , const TDesC8 &)
IMPORT_C TInt RcGetVolumetActionL (const TDesC8 &, TInt , const TDesC8 &)
IMPORT_C TInt RcSetMuteActionL (const TDesC8 &, TInt , const TDesC8 &, const TDesC8 &)
IMPORT_C TInt RcSetVolumetActionL (const TDesC8 &, TInt , const TDesC8 &, TInt )
IMPORT_C CUpnpService * Service ( CUpnpDevice *, const TDesC8 &)
Protected Member Functions
CUpnpAVControlPoint ( MUpnpAVControlPointObserver &)
IMPORT_C void ActionResponseReceivedL ( CUpnpAction *)
IMPORT_C void ConstructL ()
IMPORT_C void DeviceDisappearedL ( CUpnpDevice *)
IMPORT_C void DeviceDiscoveredL ( CUpnpDevice *)
IMPORT_C void HttpResponseReceivedL (CUpnpHttpMessage *)
IMPORT_C void InitializeCdsActionFactoryL ()
IMPORT_C void StateUpdatedL (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_C CUpnpAVControlPoint ( MUpnpAVControlPointObserver & aAVControlPointObserver ) [protected]

C++ default constructor.

Parameters

MUpnpAVControlPointObserver & aAVControlPointObserver

~CUpnpAVControlPoint()

IMPORT_C ~CUpnpAVControlPoint ( ) [virtual]

Destructor.

Member Functions Documentation

ActionResponseReceivedL(CUpnpAction *)

IMPORT_C void ActionResponseReceivedL ( CUpnpAction * aAction ) [protected, virtual]

From CUpnpControlPoint Action response handler function.

Parameters

CUpnpAction * aAction

AvtDeviceCapabilitiesActionL(const TDesC8 &, TInt)

IMPORT_C TInt AvtDeviceCapabilitiesActionL ( const TDesC8 & aUuid,
TInt aInstanceId
)
Creates and sends a GetDeviceCapabilities action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.

AvtMediaInfoActionL(const TDesC8 &, TInt)

IMPORT_C TInt AvtMediaInfoActionL ( const TDesC8 & aUuid,
TInt aInstanceId
)
Creates and sends a GetMediaInfo action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.

AvtNextActionL(const TDesC8 &, TInt)

IMPORT_C TInt AvtNextActionL ( const TDesC8 & aUuid,
TInt aInstanceId
)
Creates and sends a Next action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.

AvtPauseActionL(const TDesC8 &, TInt)

IMPORT_C TInt AvtPauseActionL ( const TDesC8 & aUuid,
TInt aInstanceId
)
Creates and sends a Pause action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.

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

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.
const TDesC8 & aSpeed Speed of playback.

AvtPositionInfoActionL(const TDesC8 &, TInt)

IMPORT_C TInt AvtPositionInfoActionL ( const TDesC8 & aUuid,
TInt aInstanceId
)
Creates and sends a GetPositionInfo action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.

AvtPreviousActionL(const TDesC8 &, TInt)

IMPORT_C TInt AvtPreviousActionL ( const TDesC8 & aUuid,
TInt aInstanceId
)
Creates and sends a Previous action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.

AvtRecordActionL(const TDesC8 &, TInt)

IMPORT_C TInt AvtRecordActionL ( const TDesC8 & aUuid,
TInt aInstanceId
)
Creates and sends a Record action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.

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

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.
const TDesC8 & aUnit
const TDesC8 & aTarget

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

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.
const TDesC8 & aNextUri Content URI.
const TDesC8 & aNextMetaData Content metadata.

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

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.
const TDesC8 & aPlayMode

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

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.
const TDesC8 & aRecordMode

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

IMPORT_C TInt AvtSetTransportUriActionL ( const TDesC8 & aUuid,
TInt aInstanceId,
const TDesC8 & aCurrentUri,
const TDesC8 & aCurrentMetaData
)
Device getter.
Since
Series 60 2.6
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.
const TDesC8 & aCurrentUri Content URI.
const TDesC8 & aCurrentMetaData Content metadata.

AvtStopActionL(const TDesC8 &, TInt)

IMPORT_C TInt AvtStopActionL ( const TDesC8 & aUuid,
TInt aInstanceId
)
Creates and sends a Stop action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.

AvtTransportInfoActionL(const TDesC8 &, TInt)

IMPORT_C TInt AvtTransportInfoActionL ( const TDesC8 & aUuid,
TInt aInstanceId
)
Creates and sends a GetTransportInfo action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.

AvtTransportSettingsActionL(const TDesC8 &, TInt)

IMPORT_C TInt AvtTransportSettingsActionL ( const TDesC8 & aUuid,
TInt aInstanceId
)
Creates and sends a GetTransportSetings action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.

AvtTransportsActionL(const TDesC8 &, TInt)

IMPORT_C TInt AvtTransportsActionL ( const TDesC8 & aUuid,
TInt aInstanceId
)
Creates and sends a GetTransportIDs action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.

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

IMPORT_C TInt CdsBrowseActionL ( const TDesC8 & aUuid,
const TDesC8 & aObjectId,
const TDesC8 & aBrowseFlag,
const TDesC8 & aFilter,
TInt aStartingIndex,
TInt aRequestedCount,
const TDesC8 & aSortCriteria
)
Creates and sends a Browse action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
const TDesC8 & aObjectId Target's id.
const TDesC8 & aBrowseFlag MetaData or DirectChildren.
const TDesC8 & aFilter What is returned.
TInt aStartingIndex First returned item.
TInt aRequestedCount How manyy items is returned.
const TDesC8 & aSortCriteria Sorting order.

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

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
const TDesC8 & aId Parent container.
const TDesC8 & aElements Object in XML form.

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

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
const TDesC8 & aDestinationContainerId Place for reference.
const TDesC8 & aSourceObjectId Referred object.

CdsDeleteResourceActionL(const TDesC8 &, const TDesC8 &)

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
const TDesC8 & aResourceUri Resource to be deleted.

CdsDestroyObjectActionL(const TDesC8 &, const TDesC8 &)

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
const TDesC8 & aObjectId Object to be destroyed.

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

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
const TDesC8 & aSourceUri Source of export.
const TDesC8 & aDestinationUri Destination of export.

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

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
const TDesC8 & aSourceUri Source of import.
const TDesC8 & aDestinationUri Destination of import.

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

IMPORT_C TInt CdsSearchActionL ( const TDesC8 & aUuid,
const TDesC8 & aObjectId,
const TDesC8 & aSearchCriteria,
const TDesC8 & aFilter,
TInt aStartingIndex,
TInt aRequestedCount,
const TDesC8 & aSortCriteria
)
Creates and sends a Search action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
const TDesC8 & aObjectId Target's id.
const TDesC8 & aSearchCriteria Search rules.
const TDesC8 & aFilter What is returned.
TInt aStartingIndex First returned item.
TInt aRequestedCount How manyy items is returned.
const TDesC8 & aSortCriteria Sorting order.

CdsSearchCapabilitiesActionL(const TDesC8 &)

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.

CdsSortCapabilitiesActionL(const TDesC8 &)

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.

CdsStopTransferActionL(const TDesC8 &, TInt)

IMPORT_C TInt CdsStopTransferActionL ( const TDesC8 & aUuid,
TInt aTransferId
)
Creates and sends a StopTransfer action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aTransferId Transfer to be stopped.

CdsSystemUpdateIdActionL(const TDesC8 &)

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

Parameters

const TDesC8 & aUuid

CdsTransferProgressActionL(const TDesC8 &, TInt)

IMPORT_C TInt CdsTransferProgressActionL ( const TDesC8 & aUuid,
TInt aTransferId
)
Creates and sends a GetTransferProgress action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aTransferId Observed transfer.

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

IMPORT_C TInt CdsUpdateObjectActionL ( 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 & aUuid A Universal Unique Identifier of device.
const TDesC8 & aObjectID Updated object.
const TDesC8 & aCurrentTagValue Current object XML.
const TDesC8 & aNewTagValue New object XML.

CmConnectionCompleteActionL(const TDesC8 &, TInt)

IMPORT_C TInt CmConnectionCompleteActionL ( const TDesC8 & aUuid,
TInt aConnectionId
)
Creates and sends a ConnectionComplete action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aConnectionId

CmCurrentConnectionInfoActionL(const TDesC8 &, TInt)

IMPORT_C TInt CmCurrentConnectionInfoActionL ( const TDesC8 & aUuid,
TInt aConnectionId
)
Creates and sends a GetCurrentConnectionInfo action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aConnectionId

CmCurrentConnectionsActionL(const TDesC8 &)

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.

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

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

Parameters

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

CmProtocolInfoActionL(const TDesC8 &)

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

By default Symbian 2nd phase constructor is private.

DeviceDisappearedL(CUpnpDevice *)

IMPORT_C void DeviceDisappearedL ( CUpnpDevice * aDevice ) [protected, virtual]

From CUpnpControlPoint Device dissappear handler.

Parameters

CUpnpDevice * aDevice

DeviceDiscoveredL(CUpnpDevice *)

IMPORT_C void DeviceDiscoveredL ( CUpnpDevice * aDevice ) [protected, virtual]

From CUpnpControlPoint Device discovery handler.

Parameters

CUpnpDevice * aDevice

HttpResponseReceivedL(CUpnpHttpMessage *)

IMPORT_C void HttpResponseReceivedL ( CUpnpHttpMessage * aMessage ) [protected, virtual]

From CUpnpControlPoint HTTP message handler function.

Parameters

CUpnpHttpMessage * aMessage

InitializeCdsActionFactoryL()

IMPORT_C void InitializeCdsActionFactoryL ( ) [protected]

Initialize CdsActionFactory if is equal NULL

NetworkEvent(CUpnpNetworkEventBase *)

IMPORT_C void NetworkEvent ( 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 TInt RcGetMuteActionL ( const TDesC8 & aUuid,
TInt aInstanceId,
const TDesC8 & aChannel
)
Creates and sends a GetMute action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.
const TDesC8 & aChannel Audio channel.

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

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceID Rendring Instance.
const TDesC8 & aChannel Audio channel.

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

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

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.
const TDesC8 & aChannel Audio channel.
const TDesC8 & aMute

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

IMPORT_C TInt RcSetVolumetActionL ( const TDesC8 & aUuid,
TInt aInstanceId,
const TDesC8 & aChannel,
TInt aVolume
)
Creates and sends a SetVolume action.
Since
Series 60 2.6

Parameters

const TDesC8 & aUuid A Universal Unique Identifier of device.
TInt aInstanceId Rendring Instance.
const TDesC8 & aChannel Audio 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 * aDevice Target device of search.
const TDesC8 & aServiceType Type of searched service.

StateUpdatedL(CUpnpService *)

IMPORT_C void StateUpdatedL ( 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]