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
voidOnPnPError(TInt)
voidOnPnPEventL(RPnPParameterBundleBase &)

Member Functions Documentation

OnPnPError(TInt)

voidOnPnPError(TIntaError)[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 aErrorerror code.

OnPnPEventL(RPnPParameterBundleBase &)

voidOnPnPEventL(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 & aServiceEventInfoParameter bundle containg the response.