-
Notifications
You must be signed in to change notification settings - Fork 4
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
Initial commit for updating vsomeip python transport to 1.5.8 release #7
base: main
Are you sure you want to change the base?
Initial commit for updating vsomeip python transport to 1.5.8 release #7
Conversation
4270457
to
9e8423f
Compare
9e8423f
to
7d9124a
Compare
data: bytearray, | ||
request_id: int, | ||
_: int, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this and why isn't it being used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Underlying Vsomeip python library callbacks have a callback method definition, one of the attributes is request_id = client+session_id
In case of event handling we don't do anything with this attribute as all we need is service_id, instance_id, event_id data, message_type
def _on_service_sending_response_handler( | ||
self, | ||
message_type: int, | ||
_: int, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same question here, what's going on with these underscores
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is an extra callback we register to service to save the umessage responses data based on clientid+sessionid
we don't need the other attributes are hence not named
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is really big... can you separate all those handlers into their own package/file?
No description provided.