Registered procedures simplify RPC handling in an Open Server application for these reasons:
Registered procedures consolidate code in one place. They are executable objects that an Open Server application can call from other event handlers in addition to the SRV_RPC event handler.
Registered procedures can be created at any time when the server is running, through Server-Library calls or external Client-Library or DB-Library calls. The SRV_RPC event handler, by contrast, must be coded in advance of starting up the server.
Registered procedures provide automatic datatype checking and require no parsing on the part of the Open Server application code.
Clients can request notification when a registered procedure executes. The “notification” consists of:
The name of the registered procedure
The parameter values associated with this execution of the registered procedure
The notification request can be issued internally with Server-Library calls or externally with Client-Library or DB-Library calls.
Clients can request a list of registered procedures or a list of the procedures for which they have requested notifications.