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

RESERVE_NAME no longer supported #315

Open Angaroni opened 3 years ago

Angaroni commented 3 years ago

Hello, I am trying to use portico, but I have an issue on creating an object with a custom rti instance name. I have found this comment in the code ( Connection.java row 257):

// FIXME -- REMOVE ME -- Left here on purpose to flag an issue.
if( context.getRequest().isAsync() )
      throw new     ( "RESERVE_NAME no longer supported - move to Notificatins" );

It tells that I should use Notifications but I have not found any example or documentation how to get it done. Somebody can help me on this? Thank you in advance.

timpokorny commented 3 years ago

Hi @Angaroni - What version of Portico are you using?

Angaroni commented 3 years ago

I am using the 2.2.0 version, specifically the master branch.

timpokorny commented 3 years ago

OK. Can I suggest you try the maintenance_2.0.x branch? This should be working there I believe.

timpokorny commented 3 years ago

That is expected. All prior versions do not have a central RTI service. They work fully distributed. Just start federates on the same network and they should run. No need for central service.

On 1 Apr 2021, at 5:29 pm, Aerdna @.***> wrote:



I have downloaded and compiled the maintenance_2.0.x branch that you have suggested but when I try to start the portico server it just close without any error: [Capture]https://user-images.githubusercontent.com/5683272/113274026-831bd880-92dd-11eb-84cd-0e3d875d25a8.PNG

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/openlvc/portico/issues/315#issuecomment-811781954, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAG6WUPOAKVHBBNI2IVME4LTGQ4IXANCNFSM42CJDJKQ.

This message and any attachments are confidential and commercial-in-confidence, and are intended solely for the use of the individual or entity to whom the message is addressed. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any use, dissemination, forwarding, printing or copying of this message and any file attachments is strictly prohibited. Any views or opinions presented are solely those of the author and do not necessarily represent those of Calytrix Technologies. If you have received this message in error, please immediately notify us by reply message to the sender.