openlvc / portico

Portico is an open source, cross-platform, fully supported HLA RTI implementation. Designed with modularity and flexibility in mind, Portico is a production-grade RTI for the Simulation and Training Community, so come say hi!
http://www.porticoproject.org
151 stars 81 forks source link

MOM support for service invocation information and exceptions #237

Closed timpokorny closed 6 years ago

timpokorny commented 6 years ago

Summary

Add support for the following calls MOM request/report interactions:

Acceptance Criteria

Once complete, Portico shall:

michaelrfraser commented 6 years ago

@tpr1 just wondering if you can give me some guidance as to what you will be using the HLAreportServiceInvocation notification for? Do you require the parameters that the service was invoked with, or just the name of the service itself?

tpr1 commented 6 years ago

I have no plans to use the supplied or returned arguments.

I am worried about deadlock situations that arise due to poorly configured federates. For instance, a federate might sit in a loop waiting for a receive order message that will never arrive because all its peers who publish that message have sent an advance time request. The HLAreportServiceInvocation could be used as an interrupt flag to trigger some recovery action in cases where deadlock is possible; it would really only need the service name and success indicator for that purpose.

michaelrfraser commented 6 years ago

Thanks Thomas, will get onto it straight away!

michaelrfraser commented 6 years ago

PR submitted to #273.

All features have been implemented with the following notes:

Placing ticket in review.

timpokorny commented 6 years ago

Merged!