message.h
Overview
Related Modules:
Description:
Provides message communication APIs that help you to implement asynchronous functions of IUnknown.
This API is used to implement asynchronous functions of IUnknown.
Since:
1.0
Version:
1.0
Summary
Data Structures
Typedefs
Functions
SAMGR_SendRequest (const Identity identity, const Request request, Handler handler) |
Sends a request to a service or feature of a specified identity. |
SAMGR_SendSharedRequest (const Identity identity, const Request request, uint32 token, Handler handler) |
Sends a request to multiple services or features to save memory. |
SAMGR_SendSharedDirectRequest (const Identity id, const Request req, const Response resp, uint32 **ref, Handler handler) |
Sends a request and response of a caller to the feature thread. The handler is directly called to process the request and response without using the message processing functions. (Customized function for the broadcast service) |
SAMGR_SendResponse (const Request request, const Response response) |
|
SAMGR_SendResponseByIdentity (const Identity id, const Request request, const Response response) |
Sends a response to a specified service or feature after processing the original request. (Customized function for bootstrap) |