|
|
|
|
Location:
mmfcontroller.h
Link against: mmfcontrollerframework.lib
class CMMFDataSinkHolder : public CMMFObject;
CMMFObject-derived class to wrap a Data Sink.
Allows a handle to be attributed to a data sink, so it can be removed from the controller and the client can send messages directly to it.
CBase - Base class for all classes to be instantiated on the heap
CMMFObject - Defines an object to which a client may have a direct handle
CMMFDataSinkHolder - CMMFObject-derived class to wrap a Data Sink
Defined in CMMFDataSinkHolder:
CMMFDataSinkHolder(), DataSink(), HandleRequest(), ~CMMFDataSinkHolder()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
Inherited from CMMFObject:
Handle(),
operator==()
IMPORT_C CMMFDataSinkHolder(MDataSink &aDataSink);
Constructor.
|
IMPORT_C MDataSink &DataSink();
Returns a reference to the data sink.
|
virtual IMPORT_C void HandleRequest(TMMFMessage &aMessage);
Implementation of the pure virtual function inherited from CMMFObject.
Passes the request directly to the data sink.
|