SomeIpService

class mtf.libs.mtf_pybinder.SomeIpService

SomeIp service class

__init__(*args, **kwargs)
__new__(**kwargs)
property address

Get SomeIp service address elements

get_all_events(self: mtf.libs.mtf_pybinder.SomeIpService) list[mtf.libs.mtf_pybinder.SomeIpMessage]

Get all service events. This function could be used for both provided and consumed services

get_all_fields(self: mtf.libs.mtf_pybinder.SomeIpService) list[mtf.libs.mtf_pybinder.SomeIpField]

Get all service fields. This function could be used for both provided and consumed services

get_all_methods(self: mtf.libs.mtf_pybinder.SomeIpService) list[mtf.libs.mtf_pybinder.SomeIpMessage]

Get all service methods. This function could be used for both provided and consumed services

try_get_event_by_name(self: mtf.libs.mtf_pybinder.SomeIpService, event_name: str) mtf.libs.mtf_pybinder.SomeIpMessage

Get service event by name. This function could be used for both provided and consumed services. Return None if the event is not found.

try_get_field_by_name(self: mtf.libs.mtf_pybinder.SomeIpService, field_name: str) mtf.libs.mtf_pybinder.SomeIpField

Get service field by name. This function could be used for both provided and consumed services. Return None if the field is not found.

try_get_message_by_id(self: mtf.libs.mtf_pybinder.SomeIpService, message_id: int) mtf.libs.mtf_pybinder.SomeIpMessage

Get service event/field accessors/method by id. This function could be used for both provided and consumed services. Return None if the message is not found.

try_get_method_by_name(self: mtf.libs.mtf_pybinder.SomeIpService, method_name: str) mtf.libs.mtf_pybinder.SomeIpMessage

Get service method by name. This function could be used for both provided and consumed services. Return None if the method is not found.