PolyORB proposes a set of pre-defined setup packages. You must with one of them in your application node to activate the corresponding setup.
PolyORB.Setup.Client
: a client node, without tasking
enabled, configured to use all protocol personalities build with PolyORB.
PolyORB.Setup.Ravenscar_TP_Server
: a server node, with tasking
enabled, configured to use all protocol personalities build with
PolyORB. Middleware tasking runtime follow Ravenscar's profile
restrictions. Middleware tasking policies is Thread_Pool
.
PolyORB.Setup.Thread_Per_Request_Server
: a server node,
with tasking enabled, configured to use all protocol personalities
build with PolyORB. Middleware tasking policies is
Thread_Per_Request
.
PolyORB.Setup.Thread_Per_Session_Server
: a server node,
with tasking enabled, configured to use all protocol personalities
build with PolyORB. Middleware tasking policies is
Thread_Per_Session
.
PolyORB.Setup.Thread_Pool_Server
: a server node,
with tasking enabled, configured to use all protocol personalities
build with PolyORB. Middleware tasking policies is
Thread_Pool
.
To enforce one of these configurations, add a dependency on one of these packages. The elaboration of the application (based on Ada rules) and the initialization of the partition (based on the application personalities mechanisms) will set up properly your application.