#include <mw/MSenServiceConsumer.h>
class MSenExtendedConsumerInterface |
Public Member Functions | |
---|---|
virtual TAny * | GetInterfaceByUid(TUid) |
Callback interface for extended consumer interface. When this interface is provided to service connection as constructor argument, the service connection (web services stack) can later on query for a variety of different interfaces, extensions, from the application. Each extension (interface) is has unique identifier (UID).
Service connection calls this method several times, passing a different UID per each call. If application wants to provide particular interface to service connection (web services stack), it needs to return a pointer to such M-class as a return value of this method. For any interface, that application has not implemented, it is supposed to return NULL.
Returns: value should be a valid (void) pointer to any interface implemented by the application. NULL signalizes that application does not provide interface for give UID.