CUpnpCdsActionFactory Class Reference

class CUpnpCdsActionFactory : public CBase

?one_line_short_description. ?other_description_lines

Since
Series 60 2.6

Inherits from

  • CUpnpCdsActionFactory
Public Member Functions
~CUpnpCdsActionFactory()
TInt CdsBrowseActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt, TInt, const TDesC8 &)
TInt CdsCreateObjectActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &)
TInt CdsCreateReferenceActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &)
TInt CdsDeleteResourceActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &)
TInt CdsDestroyObjectActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &)
TInt CdsExportResourceActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &)
TInt CdsImportResourceActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &)
TInt CdsSearchActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt, TInt, const TDesC8 &)
TInt CdsSearchCapabilitiesActionLC(CUpnpAction *&, CUpnpDevice *)
TInt CdsSortCapabilitiesActionLC(CUpnpAction *&, CUpnpDevice *)
TInt CdsStopTransferActionLC(CUpnpAction *&, CUpnpDevice *, TInt)
TInt CdsSystemUpdateIdActionLC(CUpnpAction *&, CUpnpDevice *)
TInt CdsTransferProgressActionLC(CUpnpAction *&, CUpnpDevice *, TInt)
TInt CdsUpdateObjectActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &, const TDesC8 &)
CUpnpCdsActionFactory *NewL(MUpnpAVControlPointObserver &, CUpnpAVControlPoint &)
Private Member Functions
CUpnpCdsActionFactory(MUpnpAVControlPointObserver &, CUpnpAVControlPoint &)
voidConstructL()
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()
Private Attributes
CUpnpAVControlPoint &iAVCP
MUpnpAVControlPointObserver &iAVControlPointObserver

Constructor & Destructor Documentation

CUpnpCdsActionFactory(MUpnpAVControlPointObserver &, CUpnpAVControlPoint &)

CUpnpCdsActionFactory(MUpnpAVControlPointObserver &aAVCPObserver,
CUpnpAVControlPoint &aAVCP
)[private]

C++ default constructor.

Parameters

MUpnpAVControlPointObserver & aAVCPObserver
CUpnpAVControlPoint & aAVCP

~CUpnpCdsActionFactory()

~CUpnpCdsActionFactory()

Destructor.

Member Functions Documentation

CdsBrowseActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt, TInt, const TDesC8 &)

TInt CdsBrowseActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer,
const TDesC8 &aObjectId,
const TDesC8 &aBrowseFlag,
const TDesC8 &aFilter,
TIntaStartingIndex,
TIntaRequestedCount,
const TDesC8 &aSortCriteria
)
This function creates an action for content directory browse function.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerDestination of action.
const TDesC8 & aObjectIdobject to be browsed
const TDesC8 & aBrowseFlagitem or children browse
const TDesC8 & aFilter
TInt aStartingIndex
TInt aRequestedCount
const TDesC8 & aSortCriteria

CdsCreateObjectActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &)

TInt CdsCreateObjectActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer,
const TDesC8 &aId,
const TDesC8 &aElements
)
Creates and places in CU-stack a CreateObject action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerAction's target device.
const TDesC8 & aIdA contatiner id .
const TDesC8 & aElementsnew object as XML string.

CdsCreateReferenceActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &)

TInt CdsCreateReferenceActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer,
const TDesC8 &aDestinationContainerId,
const TDesC8 &aSourceObjectId
)
Creates and places in CU-stack a CreateRefernce action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerAction's target device.
const TDesC8 & aDestinationContainerIdID of container in wher reference is created.
const TDesC8 & aSourceObjectIdobject to be refered.

CdsDeleteResourceActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &)

TInt CdsDeleteResourceActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer,
const TDesC8 &aResourceUri
)
Creates and places in CU-stack a DeleteResource action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerAction's target device.
const TDesC8 & aResourceUriURI of target resource.

CdsDestroyObjectActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &)

TInt CdsDestroyObjectActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer,
const TDesC8 &aObjectId
)
Creates and places in CU-stack a DestroyObject action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerAction's target device.
const TDesC8 & aObjectIdURI of target resource.

CdsExportResourceActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &)

TInt CdsExportResourceActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer,
const TDesC8 &aSourceUri,
const TDesC8 &aDestinationUri
)
Creates and places in CU-stack a ExportResource action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerAction's target device.
const TDesC8 & aSourceUrisource of export.
const TDesC8 & aDestinationUridestination for export.

CdsImportResourceActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &)

TInt CdsImportResourceActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer,
const TDesC8 &aSourceUri,
const TDesC8 &aDestinationUri
)
Cretes and places in CU-stack a ImportResource action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerAction's target device.
const TDesC8 & aSourceUrisource of import.
const TDesC8 & aDestinationUridestination for import.

CdsSearchActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt, TInt, const TDesC8 &)

TInt CdsSearchActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer,
const TDesC8 &aObjectId,
const TDesC8 &aSearchCriteria,
const TDesC8 &aFilter,
TIntaStartingIndex,
TIntaRequestedCount,
const TDesC8 &aSortCriteria
)
This function creates an action for content directory Search function.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerDestination of action.
const TDesC8 & aObjectIdobject to be browsed
const TDesC8 & aSearchCriteriasearch parameters
const TDesC8 & aFilter
TInt aStartingIndex
TInt aRequestedCount
const TDesC8 & aSortCriteria

CdsSearchCapabilitiesActionLC(CUpnpAction *&, CUpnpDevice *)

TInt CdsSearchCapabilitiesActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer
)
Creates and places in CU-stack a GetSearchCapabilities action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerAction's target device.

CdsSortCapabilitiesActionLC(CUpnpAction *&, CUpnpDevice *)

TInt CdsSortCapabilitiesActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer
)
Creates and places in CU-stack a GetSortCapabilities action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerAction's target device.

CdsStopTransferActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

TInt CdsStopTransferActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer,
TIntaTransferId
)
Creates and places in CU-stack a StopTransfer action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerAction's target device.
TInt aTransferIdId of target transfer.

CdsSystemUpdateIdActionLC(CUpnpAction *&, CUpnpDevice *)

TInt CdsSystemUpdateIdActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer
)
Creates and places in CU-stack a GetSystemUpdateID action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerAction's target device.

CdsTransferProgressActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

TInt CdsTransferProgressActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer,
TIntaTransferId
)
Creates and places in CU-stack a GetTransferProgress action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerAction's target device.
TInt aTransferIdId of target transfer.

CdsUpdateObjectActionLC(CUpnpAction *&, CUpnpDevice *, const TDesC8 &, const TDesC8 &, const TDesC8 &)

TInt CdsUpdateObjectActionLC(CUpnpAction *&aAction,
CUpnpDevice *aMediaServer,
const TDesC8 &aObjectID,
const TDesC8 &aCurrentTagValue,
const TDesC8 &aNewTagValue
)
Creates and places in CU-stack a UpdateObject action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aActionCUpnpAction pointer for created action.
CUpnpDevice * aMediaServerAction's target device.
const TDesC8 & aObjectIDobject to be updated.
const TDesC8 & aCurrentTagValuecurrent metadata.
const TDesC8 & aNewTagValuenew metadata.

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

NewL(MUpnpAVControlPointObserver &, CUpnpAVControlPoint &)

CUpnpCdsActionFactory *NewL(MUpnpAVControlPointObserver &aAVCPObserver,
CUpnpAVControlPoint &aAVCP
)[static]

Two-phased constructor.

Parameters

MUpnpAVControlPointObserver & aAVCPObserver
CUpnpAVControlPoint & aAVCP

Member Data Documentation

CUpnpAVControlPoint & iAVCP

CUpnpAVControlPoint &iAVCP[private]

MUpnpAVControlPointObserver & iAVControlPointObserver

MUpnpAVControlPointObserver &iAVControlPointObserver[private]