1. When an accessserver sends out notifications to its clients, is it by broadcast, multicast or unicast ?
2. Does the environment variable APB_CALL_TIMEOUT affect the pinger ?
3. Am I be able to select how notifications are transmited to clients (switching between broadcast,multicast or unicast) ?
4. For any asynchronous call during startup, it will only be served and treated after the accessserver is ready ?
5. how can I get the object type when I am creating a MPI_Object using MPI_Object& MPI_Module::Create(MPI_CreateArg &arg;), I tried using arg.Type().Type() but it always return 0 for any object. ?
1. When an accessserver sends out notifications to its clients, is it by broadcast, multicast or unicast ?
This is unicast as the current communication layer is using an orb on
top of tcp/ip.
2. Does the environment variable APB_CALL_TIMEOUT affect the pinger ?
No it doesn't affect pinger. Evevry call make to pinger are local so
the Timeout is infinite.
3. Am I be able to select how notifications are transmited to clients (switching between broadcast,multicast or unicast) ?
This can not be changed unless we (or you) change the underlying communication
protocol to one that is able to do broadcast/multicast.
4. For any asynchronous call during startup, it will only be served and treated after the accessserver is ready ?
Yes every calls are delayed at init time. They will be dispatched by AS
after its own readyness.
5. how can I get the object type when I am creating a MPI_Object using MPI_Object& MPI_Module::Create(MPI_CreateArg &arg;), I tried using arg.Type().Type() but it always return 0 for any object. ?
You're using the right method, but this type doesn't correspond with the information in the
configuration file, and if you don't set this type the return value is always 0.
The good way to use the Type of your object, is to set their type when you create them
(MPI_Object & MPI_Module::Create(MPI_CteateArg &arg;)).
Create static MPI_ObjectType for each level type you need, and use
the one you need to set the type using the method arg.Type(theGoodObjectType).
|