CResolverProvdBase Class Reference

class CResolverProvdBase : public CBase

Inherits from

Member Functions Documentation

CancelCurrentOperation()

voidCancelCurrentOperation()[pure virtual]

SecurityCheck(MProvdSecurityChecker *)

IMPORT_C TIntSecurityCheck(MProvdSecurityChecker *aSecurityChecker)[virtual]

Use the class instance argument to perform security policy checks on the originating client process.

This method is called when a resolver is created. The resolver is required to check whether the originating client process has enough privileges to request services from the resolver. The MProvdSecurityChecker class instance is used to perform security policy checks. The resolver may choose to perform a security policy check in its SecurityCheck(...) method, or it may choose to store the MProvdSecurityChecker class instance argument and use it to perform checking later (i.e. when subsequent resolver methods are called).

KErrPermissionDenied if resolver wishes to disallow access to the client, else KErrNone. This would normally be as a result of calling MProvdSecurityChecker::CheckPolicy(...) with a suitable security policy argument.

Parameters

MProvdSecurityChecker * aSecurityCheckerPointer to class used by resolver to perform security checks on the client process. This pointer becomes invalid when the resolver is destroyed or detached.

SetNotify(MResolverNotify *)

voidSetNotify(MResolverNotify *aNotifier)[inline]

Parameters

MResolverNotify * aNotifier

Member Data Documentation

MResolverNotify * iNotify

MResolverNotify *iNotify[protected]

CProtocolBase * iProtocol

CProtocolBase *iProtocol[private]