TUpnpSoapParser Class Reference

class TUpnpSoapParser

Class is responsible for parsing soap messages logic with usage of CUpnpControllersContentHandler

Constructor & Destructor Documentation

TUpnpSoapParser(CUpnpContentHandlersController &)

TUpnpSoapParser(CUpnpContentHandlersController &aParsingController)

Constructor

Parameters

CUpnpContentHandlersController & aParsingController

Member Functions Documentation

ProcessActionArgumentsL(RPointerArray< CUpnpDescriptionProperty > &, CUpnpAction *)

voidProcessActionArgumentsL(RPointerArray< CUpnpDescriptionProperty > &aProperties,
CUpnpAction *aAction
)[private]

Process parsed description property passed as an argument, and the rest of parsed properties and update action arguments with them.

Parameters

RPointerArray< CUpnpDescriptionProperty > & aPropertiesarguments list (first with action name is ignored)
CUpnpAction * aActionan action to update

UpdateActionArgumentsL(RPointerArray< CUpnpDescriptionProperty > &, CUpnpAction *)

voidUpdateActionArgumentsL(RPointerArray< CUpnpDescriptionProperty > &aProperty,
CUpnpAction *aAction
)[private]

Update all action arguments with previously parsed properties.

Parameters

RPointerArray< CUpnpDescriptionProperty > & aProperty
CUpnpAction * aActionan action to update

UpdateActionFaultL(CUpnpDescriptionProperty *, CUpnpAction *)

voidUpdateActionFaultL(CUpnpDescriptionProperty *aProperty,
CUpnpAction *aAction
)[private]

Update action error value from parsed description property

Parameters

CUpnpDescriptionProperty * aProperty
CUpnpAction * aActionan action to update

UpdateActionL(CUpnpSoapMessage *, CUpnpAction *, RPointerArray< CUpnpDescriptionProperty > &)

voidUpdateActionL(CUpnpSoapMessage *aMessage,
CUpnpAction *aAction,
RPointerArray< CUpnpDescriptionProperty > &aParsedValues
)[private]

Common code used by 3 particular update soap action methods

Parameters

CUpnpSoapMessage * aMessage
CUpnpAction * aAction
RPointerArray< CUpnpDescriptionProperty > & aParsedValues

UpdateActionWithErrorResponseL(CUpnpSoapMessage *, CUpnpAction *)

voidUpdateActionWithErrorResponseL(CUpnpSoapMessage *aMessage,
CUpnpAction *aAction
)

For internal use. Update all necessary information from a SOAP-message that should contain SOAP error (fault) message (eg. received by http 500 InternalServerError message.

Parameters

CUpnpSoapMessage * aMessageSOAP response message
CUpnpAction * aActionan action to update

UpdateActionWithOKResponseL(CUpnpSoapMessage *, CUpnpAction *)

voidUpdateActionWithOKResponseL(CUpnpSoapMessage *aMessage,
CUpnpAction *aAction
)

For internal use. Update all necessary information from a SOAP-message that should be OK answer (e.g. received by Http 200 OK message).

Parameters

CUpnpSoapMessage * aMessageSOAP response message
CUpnpAction * aActionan action to update

UpdateActionWithRequestL(CUpnpSoapMessage *, CUpnpAction *)

voidUpdateActionWithRequestL(CUpnpSoapMessage *aMessage,
CUpnpAction *aAction
)
Update action with all necessary information from a SOAP request message.
Since
Series60 3.2

Parameters

CUpnpSoapMessage * aMessageSOAP request message
CUpnpAction * aAction- an action to update

Member Data Documentation

CUpnpContentHandlersController & iParsingController

CUpnpContentHandlersController &iParsingController[private]