-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gateway: Support Client/Server in GatewayGeneric #2188
Comments
@jmyvalour Thanks for opening this issue.
That is correct. The Gateway was developed before Client/Server communication was available in iceoryx
It is currently not planned for Maybe you are already aware, here's the link to the DDS gateway using the |
There is a typo. You probably meant weeks ;) |
Hello, Thank you for your support and help, I would be interested to add this feature but no clear timetable on my side regarding the when, One simple solution I have for now (that would avoid rewriting anything in the gateway) would be to use the ClassHash of the ServiceDescription and update the internal ServiceDescription::operator== to use it on top of its Service, Instance and Event. That would allow to accept duplicated names in the GatewayGeneric as long as the ClassHash differs, (I did not extend my research regarding the impact it will have on the overall project) Will update the ticket when I push this topic further, but any input / idea / comment from you will be helpful. Current state I have for now is working (as long as server / publisher have different service description) and instanciating a client / subscriber based on the m_serviceType we are discovering from the Gateway::Discover API, As the Options passed to addChannel are templated, I can detect if this is related to a client or a subscriber. That does the trick nicely on that part. Here is the IceoryxTerminal type:
Jeremy |
@jmyvalour I don't think that using the I'm not that familiar with the gateway but without digging deeper, I would think that the current |
Hello,
We are looking to add a network gateway support for our iceoryx Publisher / Server services, in order to do so we are using the GatewayGeneric base class (with its discover, forward, *channels api helpers...). Everything is working fine for Publisher/Subscriber pattern, but GatewayGeneric does not provides support for Server/Client,
The addChannel is using the capro::ServiceDescription and a IceoryxPubSubOptions template type. Main problem is that in case I am using the same topic for a Server / Publisher, we are not able to detect if this is coming from a Publisher or a Server and the AddChannel will already find the previous one. More generally, it does not look like Server/Client is suppose to be supported in the current implementation, maybe I am missing something here ?
I was wondering the following:
Thank you for your help,
The text was updated successfully, but these errors were encountered: