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

RTI side message handlers don't check if the requesting Federate is an execution member #276

Closed michaelrfraser closed 6 years ago

michaelrfraser commented 6 years ago

Just noticed that if I force resign a federate from the new RTI console, the corresponding Federate code throws an NPE on the next RTIamb call it tries to make.

All federate-related calls should check whether the requesting federate is an execution member, and if not throw a FederateNotExecutionMember

michaelrfraser commented 6 years ago

PR submitted to fix this issue in #278

Added check in RtiInbox to prevent messages being passed to a Federation if the source Federate is not a member of that federation.

michaelrfraser commented 6 years ago

Basic usage manual for the CLI can be found here: https://docs.google.com/document/d/1J9vTPrNERkBj7eu8DRNiKip1h77oIQusunvtxAFhBzE/edit?usp=sharing

timpokorny commented 6 years ago

Merged.