SimIntToolkit / cpswt-core

Foundational codebase with support for java federates
MIT License
1 stars 3 forks source link

Object updates needed even with partially updated object (i.e., only a few attributes really updated) #121

Open hneema08 opened 1 year ago

hneema08 commented 1 year ago

Currently, it seems the whole object update is received, and default values are filled for attributes that were not really updated. Please investigate and update here the current state of how things work and let @tpr1 respond further.

hneema08 commented 1 year ago

Here is the workaround @tpr1 had to implement earlier to locally store the updates to different attributes of an object and then update the whole object in one shot because multiple partial updates would break the receiver federate:

https://github.com/usnistgov/TEChallengeComponentModel/blob/feature/ieee8500/src/tesp/IEEE8500/IEEE8500_generated/Auction/src/main/java/gov/nist/hla/te/auction/Auction.java#L367-L373

hneema08 commented 1 year ago

Additionally, do we support and test transfer of object ownership and sequentially updating it by multiple federates?