Client Request and Response #1178
-
Hello, I have a question related to Request and Response implementation considering AUTOSAR Adaptive Platform. A service can have 0..* method with different input, output parameters. For an example if I have a service which contains 10 different method, I understand that I need to attach event for each method? Best Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @hemalbavishi Another option would be to have one server and create own message structs, e.g.
Then you have to set the command for each Message and circumvent the I would recommend to use the approach with multiple server since it is the easiest way to accomplish what you want. |
Beta Was this translation helpful? Give feedback.
Hi @hemalbavishi
the easiest solution would be to create a server for each method and attach all this server to a listener.
Another option would be to have one server and create own message structs, e.g.
Then you have to set the command for each Message and circumvent the
ServiceDescription
which takes care of identifying a service. This is also only possible with the untyped API.I would recommend to use the approach with multiple server since it is the easiest way to accomplish what you want.