Processing requests

The SOMOA is the object in the DSOM run-time environment that receives client requests and transforms them into method calls on local server objects. In order for SOMOA to listen for a request, the server program must invoke one of two methods on SOMD_SOMOAObject. If the server program wishes to turn control over to SOMD_SOMOAObject completely (that is, effectively have SOMD_SOMOAObject go into an infinite request-processing loop), then it invokes the execute_request_loop method on SOMD_SOMOAObject as follows:

rc = _execute_request_loop(SOMD_SOMOAObject, &ev, SOMD_WAIT);

Note: This is the way the DSOM provided "generic" server program interacts with SOMD_SOMOAObject.