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 *)

void ProcessActionArgumentsL ( 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 > & aProperties arguments list (first with action name is ignored)
CUpnpAction * aAction an action to update

UpdateActionArgumentsL(RPointerArray< CUpnpDescriptionProperty > &, CUpnpAction *)

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

Update all action arguments with previously parsed properties.

Parameters

RPointerArray < CUpnpDescriptionProperty > & aProperty
CUpnpAction * aAction an action to update

UpdateActionFaultL(CUpnpDescriptionProperty *, CUpnpAction *)

void UpdateActionFaultL ( CUpnpDescriptionProperty * aProperty,
CUpnpAction * aAction
) [private]

Update action error value from parsed description property

Parameters

CUpnpDescriptionProperty * aProperty
CUpnpAction * aAction an action to update

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

void UpdateActionL ( 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 *)

void UpdateActionWithErrorResponseL ( 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 * aMessage SOAP response message
CUpnpAction * aAction an action to update

UpdateActionWithOKResponseL(CUpnpSoapMessage *, CUpnpAction *)

void UpdateActionWithOKResponseL ( 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 * aMessage SOAP response message
CUpnpAction * aAction an action to update

UpdateActionWithRequestL(CUpnpSoapMessage *, CUpnpAction *)

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

Parameters

CUpnpSoapMessage * aMessage SOAP request message
CUpnpAction * aAction - an action to update

Member Data Documentation

CUpnpContentHandlersController & iParsingController

CUpnpContentHandlersController & iParsingController [private]