9. Orber Stubs/Skeletons
9 Orber Stubs/Skeletons
9.1 Orber Stubs and Skeletons Description
This example describes the API and behavior of Orber stubs and skeletons.
Server Start
Orber servers can be started in several ways. The chosen start functions determines how the server can be accessed and its behavior.
Using Module_Interface:oe_create()
or oe_create_link()
:
- No initial data can be passed.
- Cannot be used as a supervisor child start function.
- Only accessible through the object reference returned by the start function. The object reference is no longer valid if the server dies and is restarted.
Using Module_Interface:oe_create(Env)
or oe_create_link(Env)
:
- Initial data can be passed using
Env
. - Cannot be used as a supervisor child start funct