Single-process blocking operation

This type of custom server handles a request to completion and then waits for the next request. You can use a system-generated main function in this model.

The main loop uses CA_Receive_DT_Msg() with the CA_WAIT flag set, as in a system-generated main function.

This design is suitable for simple custom servers whose operations are always completed within a short time, for example reading a value from a file.

Advantages

The advantages of a single-process blocking operation design are that:

Disadvantage

The disadvantage of a single-process blocking operation design is that there may be performance delays handling synchronous requests from multiple channel processes simultaneously. In particular, this method is not suitable for custom servers which access voice channels directly.