CUpnpCdsActionFactory Class Reference

class CUpnpCdsActionFactory : public CBase

?one_line_short_description. ?other_description_lines

Since
Series 60 2.6

Inherits from

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 &)
void ConstructL ()
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,
TInt aStartingIndex,
TInt aRequestedCount,
const TDesC8 & aSortCriteria
)
This function creates an action for content directory browse function.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Destination of action.
const TDesC8 & aObjectId object to be browsed
const TDesC8 & aBrowseFlag item 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 *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Action's target device.
const TDesC8 & aId A contatiner id .
const TDesC8 & aElements new 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 *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Action's target device.
const TDesC8 & aDestinationContainerId ID of container in wher reference is created.
const TDesC8 & aSourceObjectId object 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 *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Action's target device.
const TDesC8 & aResourceUri URI 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 *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Action's target device.
const TDesC8 & aObjectId URI 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 *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Action's target device.
const TDesC8 & aSourceUri source of export.
const TDesC8 & aDestinationUri destination 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 *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Action's target device.
const TDesC8 & aSourceUri source of import.
const TDesC8 & aDestinationUri destination 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,
TInt aStartingIndex,
TInt aRequestedCount,
const TDesC8 & aSortCriteria
)
This function creates an action for content directory Search function.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Destination of action.
const TDesC8 & aObjectId object to be browsed
const TDesC8 & aSearchCriteria search 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 *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Action'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 *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Action's target device.

CdsStopTransferActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

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

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Action's target device.
TInt aTransferId Id 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 *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Action's target device.

CdsTransferProgressActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

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

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Action's target device.
TInt aTransferId Id 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 *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaServer Action's target device.
const TDesC8 & aObjectID object to be updated.
const TDesC8 & aCurrentTagValue current metadata.
const TDesC8 & aNewTagValue new metadata.

ConstructL()

void ConstructL ( ) [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]