#include <mw/MSenHostletResponse.h>
class MSenHostletResponse |
Public Member Functions | |
---|---|
pure virtual TInt | RequestId() |
pure virtual TInt | ResponseCode() |
pure virtual MSenProperties * | ResponseProperties() |
pure virtual TPtrC8 | ResponseUtf8() |
pure virtual void | SetResponseUtf8L(const TDesC8 &, const TInt, MSenProperties *, MSenMessage *) |
TInt | RequestId | ( | ) | const [pure virtual] |
Getter for request (transaction) ID
Returns: the id of the request to which this is a response for
TInt | ResponseCode | ( | ) | const [pure virtual] |
Getter for response code
Returns: the response code (KErrNone or some error) that hostlet has provided
MSenProperties * | ResponseProperties | ( | ) | [pure virtual] |
Getter for response properties
TPtrC8 | ResponseUtf8 | ( | ) | [pure virtual] |
Getter for response data
Returns: the set response as UTF-8 descriptor
void | SetResponseUtf8L | ( | const TDesC8 & | aResponseUtf8, |
const TInt | aResponseCode = KErrNone , | |||
MSenProperties * | aResponseProperties = NULL, | |||
MSenMessage * | apMessage = NULL | |||
) | [pure virtual] |
Set the response
Parameter | Description |
---|---|
aResponseUtf8 | is the response that this hostlet is providing |
aResponseProperties | may be provided in order to pass (transport) properties with the response. |