CSenHostletConnection Class Reference

class CSenHostletConnection : public CActive

Inherits from

Constructor & Destructor Documentation

CSenHostletConnection()

CSenHostletConnection ( ) [protected]

C++ default constructor.

Member Functions Documentation

Identifier()

TInt Identifier ( ) [pure virtual]

Getter for the identifier of this connection.

NewL(MSenHostlet &)

IMPORT_C CSenHostletConnection * NewL ( MSenHostlet & aProvider ) [static]
Constructs a new hostlet connection, utilizing the service description provided by MSenHostlet::ServiceDescriptionL() callback implementation. Leave codes:
  • KErrSenEndpointReserved if the endpoint specified in hostlet implementation already exists and is reserved for some other use (hostlet).

Parameters

MSenHostlet & aProvider

NewLC(MSenHostlet &)

IMPORT_C CSenHostletConnection * NewLC ( MSenHostlet & aProvider ) [static]
Constructs a new hostlet connection, utilizing the service description provided by MSenHostlet::ServiceDescriptionL() callback implementation. Leave codes:
  • KErrSenEndpointReserved if the endpoint specified in hostlet implementation already exists and is reserved for some other use (hostlet).

Parameters

MSenHostlet & aProvider

RespondL(MSenHostletResponse &)

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

Parameters

MSenHostletResponse & aResponse