Event

class someipy.Event(id, protocol)

Class representing a SOME/IP event with an event id and a transport layer protocol.

Parameters:
classmethod from_json(json_str)

Create an Event from a JSON string.

Parameters

json_strstr

JSON representation of an Event.

Returns

Event

Parameters:

json_str (str) –

Return type:

_T

id: int
protocol: TransportLayerProtocol
to_json()

Serialize this Event to JSON.

Returns

str

JSON representation of the event.

Return type:

str