Link against: senhostconn.lib
#include <MSenHostlet.h>
Public Member Functions | |
virtual TInt | ServiceL (MSenHostletRequest &aRequest, MSenHostletResponse &aResponse)=0 |
Main method for receiving incoming messages, which are typically SOAP / XML, and for providing service for these requests. | |
virtual TPtrC8 | Endpoint () const =0 |
Defines the service endpoint for this hostlet. | |
virtual TPtrC8 | Contract () const =0 |
Defines the service constract URI for this hostlet. | |
virtual TPtrC8 | FrameworkId () const |
Defines the framework for this hostlet. | |
virtual void | DescribeServiceL (CSenXmlServiceDescription &aSD) |
Each Hostlet implementation may further describes its service via this callback. | |
virtual void | OnServiceCompleteL (TInt, TInt, const TDesC8 &) |
This callback function is invoked each time when any hostlet connection's asynchronous RespondL is completed. | |
virtual TAny * | GetInterfaceByUid (TUid) |
Hostlet connection calls this method several times, passing a different UID per each call. |
|
Defines the service constract URI for this hostlet.
|
|
Each Hostlet implementation may further describes its service via this callback.
|
|
Defines the service endpoint for this hostlet.
If endpoint is not specified, hostlet connection itself will generate an endpoint from applications secure ID (UID3) if such is available, and consumers can invoke the service via the provided contract ("service type" identifier). |
|
Defines the framework for this hostlet.
|
|
Hostlet connection calls this method several times, passing a different UID per each call. If application wants to provide particular interface to hostlet connection (web services stack), it needs to return a pointer to such M-class as a return value of this method. For any interface, that application has not implemented, it is supposed to return NULL.
|
|
This callback function is invoked each time when any hostlet connection's asynchronous RespondL is completed. Method can be used to trigger the release of some response releated system resources, as it is invoked after the response has been delivered to the consumer (application may wish to close handles to reserved file or memory).
|
|
Main method for receiving incoming messages, which are typically SOAP / XML, and for providing service for these requests.
|