MPnPObserver Class Reference

class MPnPObserver

Observer class which has a callback function to return the responses. Client must implement to handle the responses.

Public Member Functions
void OnPnPError ( TInt )
void OnPnPEventL ( RPnPParameterBundleBase &)

Member Functions Documentation

OnPnPError(TInt)

void OnPnPError ( TInt aError ) [pure virtual]

Callback method which handles the errors of submitting requests. In case this method is returned, the client should check all the values passed in the corresponding bundle because it'll be called only in case of invalid bundle or low memory condition Note that unlike OnPnPEventL ,this is not a callback method and returns synchronously in case of error.

Parameters

TInt aError error code.

OnPnPEventL(RPnPParameterBundleBase &)

void OnPnPEventL ( RPnPParameterBundleBase & aServiceEventInfo ) [pure virtual]

Callback method which returns the responses.It can be success or fail and is contained in the response parameter bundle

Parameters

RPnPParameterBundleBase & aServiceEventInfo Parameter bundle containg the response.