Registered procedures

A registered procedure is a piece of code identified by a name. When an application registers a procedure, it maps the procedure name to a routine, so that when Open Server detects this procedure name in an incoming RPC data stream, it can call a specific routine immediately without raising a SRV_RPC event.

When an Open Server receives an RPC, Open Server looks up the procedure name in the list of registered procedures. If the name is registered, the runtime system executes any existing routine associated with the registered procedure. If the procedure name is not found in the list of registered procedures, Open Server calls the SRV_RPC event handler.