MObexAuthChallengeHandler Class Reference

class MObexAuthChallengeHandler

This class is the common base class for any object which wishes to use the Obex Server or Client. The class which owns a CObexClient or CObexServer must be provide an object derived from this class to handle the call from the Server/Client for a request for a Password. CObex::SetCallBack

Public Member Functions
voidGetUserPasswordL(const TDesC &)
IMPORT_C voidMOACH_ExtensionInterfaceL(TUid, void *&)

Member Functions Documentation

GetUserPasswordL(const TDesC &)

voidGetUserPasswordL(const TDesC &aRealm)[pure virtual]

Indicates that the server/client has received an Authentication challenge. The challenge can only be responded to once a password has been retrieved by some means and passed back to the calling class. The password is passed back via CObex::UserPasswordL

Parameters

const TDesC & aRealmThis will contain the Realm specified by the unit forcing the Authentication, if no UserID was supplied then this parameter will be of zero length.

MOACH_ExtensionInterfaceL(TUid, void *&)

IMPORT_C voidMOACH_ExtensionInterfaceL(TUidaInterface,
void *&aObject
)[virtual]

Returns a null aObject if the extension is not implemented, or a pointer to another interface if it is. This virtual function allows the M- classes to be extended in future in a binary compatible way by providing a method that clients can override in future to allow extra callbacks to be made via aObject.

Parameters

TUid aInterfaceUID of the interface to return
void *& aObjectthe container for another interface as specified by aInterface