MethodCalledArgs

Summary

Method called when receiving a request message

Methods
Properties

Structure

class MethodCalledArgs
match(selector: str) bool

identify the method that send a request SOME/IP message

Parameters

selector (str) – selector is service_id_or_name.instance_id.method_id_or_name

Returns

True if it's the same selector that send a SOME/IP message. Otherwise, False

Return type

bool

ecu

the ecu

Type

EcuNodeEthernet

instance_id

instance identifier of the service

Type

uint16

method_id

method id

Type

uint16

method_name

method name

Type

str

request

A dictionary contains the payload of request message

Type

IDictionary

response

A user defined a dictionary that contains the payload of the response message

Type

IDictionary

service_id

the service id

Type

uint16

service_name

the service name

Type

str