#include <mw/SenHostletConnection.h>
class CSenHostletConnection : public CActive |
Public Member Functions | |
---|---|
pure virtual TInt | Identifier() |
IMPORT_C CSenHostletConnection * | NewL(MSenHostlet &) |
IMPORT_C CSenHostletConnection * | NewLC(MSenHostlet &) |
pure virtual TInt | RespondL(MSenHostletResponse &) |
Protected Member Functions | |
---|---|
CSenHostletConnection() |
Inherited Attributes | |
---|---|
CActive::iStatus |
Inherited Enumerations | |
---|---|
CActive:TPriority |
TInt | Identifier | ( | ) | [pure virtual] |
Getter for the identifier of this connection.
Returns: the identifier as integer.
IMPORT_C CSenHostletConnection * | NewL | ( | MSenHostlet & | aProvider | ) | [static] |
KErrSenEndpointReserved if the endpoint specified in hostlet implementation already exists and is reserved for some other use (hostlet).
Returns: a pointer to a newly created hostlet connection
IMPORT_C CSenHostletConnection * | NewLC | ( | MSenHostlet & | aProvider | ) | [static] |
KErrSenEndpointReserved if the endpoint specified in hostlet implementation already exists and is reserved for some other use (hostlet).
Returns: a pointer to a newly created hostlet connection, which is also left on the cleanup stack.
TInt | RespondL | ( | MSenHostletResponse & | aResponse | ) | [pure virtual] |
Method for responding to incoming message. This asynchronous method will send a response for the request that was received by the hostlet implementation in the ServiceL callback. After the response has been delivered to service consumer who made the request, the following callback will be invoked: MSenHostlet::OnServiceCompleteL
Returns: KErrNone, if response was successfully pre-processed by the hostlet connection - it does not mean, that it was yet received by the consumer, as this method is asynchronous. If the response cannot be processed, some system-wide error code is returned. KErrAlreadyExists, if response was already provided for this request