BaseEvent

class mtf.network_port.listeners.listener_base.BaseEvent

BaseEvent(timestamp, payload)

timestamp: int

Alias for field number 0

payload: Any

Alias for field number 1

static __new__(_cls, timestamp: int, payload: Any)

Create new instance of BaseEvent(timestamp, payload)

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.