CUpnpHttpTransaction Class Reference

class CUpnpHttpTransaction : public CBase

Abstract base class for every upnp transaction. Transaction encapsulates request and response message. Client constructs instance of transaction with request, and sends it by client engine. When response comes engine writes it to response message and transaction can process it by implementing ProcessResponseL method.

Inherits from

Constructor & Destructor Documentation

CUpnpHttpTransaction(CUpnpHttpMessage *)

IMPORT_C CUpnpHttpTransaction ( CUpnpHttpMessage * aRequest ) [protected]

Parameters

CUpnpHttpMessage * aRequest

~CUpnpHttpTransaction()

IMPORT_C ~CUpnpHttpTransaction ( )

Member Functions Documentation

BaseConstructL()

IMPORT_C void BaseConstructL ( ) [protected]

CreateFaultResponseL(const TDesC8 &, TInt, TInt)

void CreateFaultResponseL ( const TDesC8 & aResponseBody,
TInt aStatus,
TInt aError
)

Parameters

const TDesC8 & aResponseBody
TInt aStatus
TInt aError

CreateOkResponseL(const TDesC8 &)

void CreateOkResponseL ( const TDesC8 & aResponseBody )

Parameters

const TDesC8 & aResponseBody

ProcessResponseL()

void ProcessResponseL ( ) [pure virtual]

Request()

IMPORT_C CUpnpHttpMessage * Request ( )

Response()

IMPORT_C CUpnpHttpMessage * Response ( )

Member Data Documentation

CUpnpHttpMessage * iHttpRequest

CUpnpHttpMessage * iHttpRequest [private]

CUpnpHttpMessage * iHttpResponse

CUpnpHttpMessage * iHttpResponse [private]