|
||
class CCHFEcomDataSupplier : public CCHFDataSupplier;
Base class for all data suppliers that are provided via ECom plugins.
CBase
-
Base class for all classes to be instantiated on the heap.
CActive
-
The core class of the active object abstraction.
CCHFDataSupplier
- Base class for all Content Handling Framework Data Suppliers.
CCHFEcomDataSupplier
- Base class for all data suppliers that are provided via ECom plugins.
Defined in CCHFEcomDataSupplier
:
CCHFEcomDataSupplier(TInt)
Constructor. NewL(CCHFDiscoveryService &,const TDesC8 &,TUint)
Factory for data suppliers provided by ECom plug-ins. TParams
Parameters to pass to the data supplier factory function. ~CCHFEcomDataSupplier()
Destructor. Inherited from CActive
:
CActive(TInt)
Constructs the active object with the specified priority.Cancel()
Cancels the wait for completion of an outstanding request.Deque()
Removes the active object from the active scheduler's list of active objects.DoCancel()
Implements cancellation of an outstanding request.EPriorityHigh
A priority higher than EPriorityUserInput.EPriorityIdle
A low priority, useful for active objects representing background processing.EPriorityLow
A priority higher than EPriorityIdle but lower than EPriorityStandard.EPriorityStandard
Most active objects will have this priority.EPriorityUserInput
A priority higher than EPriorityStandard; useful for active objects handling use...Extension_(TUint,TAny *&,TAny *)
Extension function IsActive()const
Determines whether the active object has a request outstanding.IsAdded()const
Determines whether the active object has been added to the active scheduler's li...Priority()const
Gets the priority of the active object.RunError(TInt)
Handles a leave occurring in the request completion event handler CActive::RunL(...RunL()
Handles an active object's request completion event.SetActive()
Indicates that the active object has issued a request and that it is now outstan...SetPriority(TInt)
Sets the priority of the active object.TPriority
Defines standard priorities for active objects. iStatus
The request status associated with an asynchronous request.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...Inherited from CCHFDataSupplier
:
BaseConstructL(const TDesC8 &)
Initialises the Data Supplier base class. Call this method in your derived class...CCHFDataSupplier(TInt)
Constructor.ContentType(TPtrC8 &)const
Gets the content type of the resource.EContentTypeKnown
Content type is known. EContentTypeUnknown
Content type is unknown. File()
The public calling API for getting the file-handle of the resource, if the conte...NewFromFileHandleL(RFile &,TUint)
Creates a CCHFDataSupplier object given a file-handle (rather than a URI).Observer()const
Gets the data supplier's observer. Read(TPtrC8 &)
Reads the portion of data received.RecognizeDataL(RFile &)
Attempts recognition of the content MIME type.RecognizeDataL(const TDesC &,const TDesC8 &)
Attempts recognition of the content MIME type.Reset()
Called by the client to reinitialise the data connection.ResourceSize()const
Gets the resource's total content size.Resume()
Resumes the Data Supplier from a suspended state.RxReady()
Called by the client to indicate readiness to receive more data.SetContentTypeL(const TDesC8 &)
Sets the content type to a client-specified value.SetObserver(MCHFDataSupplierObserver &)
Replaces the current Data Supplier Observer.SetReadPosition(TUint32)
Sets the data supplier read position.SetReadPosition(TUint32,TUint32)
Sets the range of data to be read.Start(MCHFDataSupplierObserver &)
Starts the Data Supplier call to supply an observer interface and to request the...Suspend()
Suspends activity on the Data Supplier.TContentTypeStatus
Describes the status of the content type buffer; whether known, i.e. set, or not...Uri()const
Gets the URI of the resource.iContentStatus
Holds the status of the content type buffer. static inline CCHFEcomDataSupplier* NewL(CCHFDiscoveryService &aDiscoveryService, const TDesC8 &aUri, TUint aBufferSizeInBytes);
Factory for data suppliers provided by ECom plug-ins.
|
|
inline CCHFEcomDataSupplier(TInt aPriority);
Constructor.
|
protected: class TParams;
Parameters to pass to the data supplier factory function.
Defined in CCHFEcomDataSupplier::TParams
:
TParams(CCHFDiscoveryService &,const TDesC8 &,TUint)
Constructor. iBufferSizeInBytes
Buffer size: indicates the size of the portion of data that can be handled by th...iDiscoveryService
Discovery service iUri
URI used to find data supplier TParams(CCHFDiscoveryService &,const TDesC8 &,TUint)
inline TParams(CCHFDiscoveryService &aDiscoveryService, const TDesC8 &aUri, TUint aBufferSizeInBytes);
Constructor.
|
iDiscoveryService
CCHFDiscoveryService & iDiscoveryService;
Discovery service
iUri
const TDesC8 & iUri;
URI used to find data supplier
iBufferSizeInBytes
TUint iBufferSizeInBytes;
Buffer size: indicates the size of the portion of data that can be handled by the client at a time.