Service

class someipy.Service

Class representing a SOME/IP service. A service has an id, major and minor version and 0 or more methods and/or eventgroups.

Attributes

idint

Service identifier.

major_versionint

Major version of the service.

minor_versionint

Minor version of the service.

methodsDict[int, Method]

Mapping of method IDs to Method instances.

eventgroupsDict[int, EventGroup]

Mapping of event group IDs to EventGroup instances.

property eventgroupids: List[int]

Returns a list of event group IDs associated with the service.

Returns

List[int]

List of event group IDs.

eventgroups: Dict[int, EventGroup]
property events: List[Event]

Returns a list of events associated with the service.

Returns

List[Event]

All events across event groups for this service.

id: int
major_version: int
property methodids: List[int]

Returns a list of method IDs associated with the object.

Returns

List[int]

List of method IDs.

methods: Dict[int, Method]
minor_version: int