AMSP-04 / NETN-ORG

NATO Education and Training Network (NETN) Organisation (ORG) Module
Other
1 stars 1 forks source link

ORBAT: Unclear how federate can quickly obtain the units it it is responsible for #4

Closed bergtwvd closed 5 years ago

bergtwvd commented 5 years ago

How can a federate quickly obtain the units it it is responsible for?

The units a federate is responsible for are listed under the Federate class, but the Federate that shall register the unit is listed under the Unit class. And the Federate class has no identification for the federate itself.

Propose to add FederateType name to Federate class. This name should be the same as used in the RTI join call. And remote federate from Unit class.

So, a federate can subscribe on the federate class, pick out the object instance that is his, and obtain the list of units it is responsible for.

LennartOlsson commented 5 years ago

A federate is identified by the attribute UUID.

The Name and UUID of federates is specified in a MSDL file and published in the federation execution by a “ORBAT-federate”.

A federate uses its name when it joins the federation, a federate name is unique in a federation execution. FederateType is not unique in a federation execution, e.g. for the federates with following name: ActorsGround, ActorsSea and ActorsAir, all have FederateType PitchActors.

Subscribing to attributes in object classes OrbatObject.Federate the application (federate) will get its UUID (if knowing its name) and a list with UUIDs to the units it is responsible for.

I see no need for adding attribute FederateType to the object class OrbatObject.Federate.

bergtwvd commented 5 years ago

That's ok. Lets close this one.