MSenHostletResponse Class Reference

Link against: senhostconn.lib


#include <
MSenHostletResponse.h>

Public Member Functions

virtual void SetResponseUtf8L (const TDesC8 &aResponseUtf8, const TInt aResponseCode=KErrNone, MSenProperties *aResponseProperties=NULL, MSenMessage *apMessage=NULL)=0
 Set the response.
virtual TInt RequestId () const =0
 Getter for request (transaction) ID.
virtual TPtrC8 ResponseUtf8 ()=0
 Getter for response data.
virtual TInt ResponseCode () const =0
 Getter for response code.
virtual MSenPropertiesResponseProperties ()=0
 Getter for response properties.

Member Function Documentation

virtual TInt MSenHostletResponse::RequestId  )  const [pure virtual]
 

Getter for request (transaction) ID.

Returns:
the id of the request to which this is a response for
virtual TInt MSenHostletResponse::ResponseCode  )  const [pure virtual]
 

Getter for response code.

Returns:
the response code (KErrNone or some error) that hostlet has provided
virtual MSenProperties* MSenHostletResponse::ResponseProperties  )  [pure virtual]
 

Getter for response properties.

virtual TPtrC8 MSenHostletResponse::ResponseUtf8  )  [pure virtual]
 

Getter for response data.

Returns:
the set response as UTF-8 descriptor
virtual void MSenHostletResponse::SetResponseUtf8L const TDesC8 &  aResponseUtf8,
const TInt  aResponseCode = KErrNone,
MSenProperties aResponseProperties = NULL,
MSenMessage apMessage = NULL
[pure virtual]
 

Set the response.

Parameters:
aResponseUtf8 is the response that this hostlet is providing
aCode can be set to error code, in case that request is not accepted by this hostlet.
aResponseProperties may be provided in order to pass (transport) properties with the response.
aResponseMessage may be provided in order to pass concrete message object with the response (like libxml2 based SOAP-ENV, CSenSoapEnvelope2)

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2007
Back to top