Lines Matching refs:self

61     def __init__(self, addresses: List[ipaddress.IPv6Address]):  argument
62 self._addresses = addresses
65 def addresses(self): argument
66 return self._addresses
68 def __eq__(self, other): argument
69 common.expect_the_same_class(self, other)
70 return self.addresses == other.addresses
72 def __repr__(self): argument
78 def parse(self, data, message_info): argument
87 def __init__(self, counters: List[int]): argument
88 self._counters = counters
91 def if_in_unknown_protos(self): argument
92 return self._counters[0]
95 def if_in_errors(self): argument
96 return self._counters[1]
99 def if_out_errors(self): argument
100 return self._counters[2]
103 def if_in_ucast_pkts(self): argument
104 return self._counters[3]
107 def if_in_broadcast_pkts(self): argument
108 return self._counters[4]
111 def if_in_discards(self): argument
112 return self._counters[5]
115 def if_out_ucast_pkts(self): argument
116 return self._counters[6]
119 def if_out_broadcast_pkts(self): argument
120 return self._counters[7]
123 def if_out_discards(self): argument
124 return self._counters[8]
127 def counters(self): argument
128 return self._counters
130 def __eq__(self, other): argument
131 common.expect_the_same_class(self, other)
133 return self.counters == other.counters
135 def __repr__(self): argument
145 def parse(self, data, message_info): argument
151 def __init__(self, battery_level: int): argument
152 self._battery_level = battery_level
155 def battery_level(self): argument
156 return self._battery_level
158 def __eq__(self, other): argument
159 common.expect_the_same_class(self, other)
161 return self.battery_level == other.battery_level
163 def __repr__(self): argument
169 def parse(self, data, message_info): argument
175 def __init__(self, supply_voltage: int): argument
176 self._supply_voltage = supply_voltage
179 def supply_voltage(self): argument
180 return self._supply_voltage
182 def __eq__(self, other): argument
183 common.expect_the_same_class(self, other)
185 return self.supply_voltage == other.supply_voltage
187 def __repr__(self): argument
193 def parse(self, data, message_info): argument
199 def __init__(self, timeout: int, child_id: int, mode: mle.Mode): argument
200 self._timeout = timeout
201 self._child_id = child_id
202 self._mode = mode
205 def timeout(self): argument
206 return self._timeout
209 def child_id(self): argument
210 return self._child_id
213 def mode(self): argument
214 return self._mode
216 def __eq__(self, other): argument
217 common.expect_the_same_class(self, other)
219 …return (self.timeout == other.timeout and self.child_id == other.child_id and self.mode == other.m…
221 def __repr__(self): argument
227 def __init__(self, children: List[ChildTableEntry]): argument
228 self._children = sorted(children, key=lambda child: child.child_id)
231 def children(self): argument
232 return self._children
234 def __eq__(self, other): argument
235 common.expect_the_same_class(self, other)
237 return self.children == other.children
239 def __repr__(self): argument
245 def parse(self, data, message_info): argument
263 def __init__(self, channel_pages: bytes): argument
264 self._channel_pages = channel_pages
267 def channel_pages(self): argument
268 return self._channel_pages
270 def __eq__(self, other): argument
271 common.expect_the_same_class(self, other)
273 return self.channel_pages == other.channel_pages
275 def __repr__(self): argument
281 def parse(self, data, message_info): argument
287 def __init__(self, tlv_types: List[int]): argument
288 self._tlv_types = tlv_types
291 def tlv_types(self): argument
292 return self._tlv_types
294 def __eq__(self, other): argument
295 common.expect_the_same_class(self, other)
297 return self.tlv_types == other.tlv_types
299 def __repr__(self): argument
305 def parse(self, data, message_info): argument
311 def __init__(self, max_child_timeout: int): argument
312 self._max_child_timeout = max_child_timeout
315 def max_child_timeout(self): argument
316 return self._max_child_timeout
318 def __eq__(self, other): argument
319 common.expect_the_same_class(self, other)
321 return self.max_child_timeout == other.max_child_timeout
323 def __repr__(self): argument
329 def parse(self, data, message_info): argument