This topic presents a summary of the service manager functions:
The following binding functions are used to register Natural Access services and service managers. Both of these functions are synchronous:
|
Function |
Description |
|---|---|
|
Acts as an entry point into service. Declares binding functions and version numbers and compatibility levels for service manager. | |
|
Declares version numbers, compatibility levels, and parameters for service. |
The following binding functions are used to initialize and shut down event handling. Both of these functions are synchronous:
|
Function |
Description |
|---|---|
|
Initializes communication with managed resource. Can declare wait objects and allocate queuecontext data structure. | |
|
De-allocates data structures allocated with xxxAttachServiceManager. |
The following binding functions are used during service startup and shutdown:
|
Function |
Synchronous/ asynchronous |
Description |
|---|---|---|
|
Synchronous |
Allocates managed resource data structure that pertains to the specific context. | |
|
Asynchronous |
Initializes the managed resource. | |
|
Synchronous |
De-allocates any data structures opened with xxxOpenServiceManager. | |
|
Asynchronous |
Shuts down the managed resource. |
The following binding functions are invoked when a service associates a runtime control action with a service specific event. Both of these functions are synchronous:
|
Function |
Description |
|---|---|
|
Service-specific actions taken when dispAddRTC function is called. | |
|
Service-specific actions taken when dispRemoveRTC function is called. |
The xxxProcessCommand binding function enables you to process service commands. This function is synchronous.
The following binding functions enable you to control tracing for specific services. Both of these functions are synchronous:
|
Function |
Description |
|---|---|
|
Formats a service-specific trace buffer. | |
|
Sets the tracemask for a specific service on a per context basis. |
The following binding functions are used to convert binary codes and trace records to ASCII. Both of these functions are synchronous:
|
Function |
Description |
|---|---|
|
Formats a command or event that was generated by the service. | |
|
Retrieves the service-specific textual representation of an error, reason, event, or command code. |
The xxxProcessEvent binding function is used to process events from other services. This function is synchronous.