MCPcopy Index your code
hub / github.com/secdev/scapy / Message

Class Message

scapy/automaton.py:276–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274
275
276class Message:
277 type = None # type: str
278 pkt = None # type: Packet
279 result = None # type: str
280 state = None # type: Message
281 exc_info = None # type: Union[Tuple[None, None, None], Tuple[BaseException, Exception, types.TracebackType]] # noqa: E501
282
283 def __init__(self, **args):
284 # type: (Any) -> None
285 self.__dict__.update(args)
286
287 def __repr__(self):
288 # type: () -> str
289 return "<Message %s>" % " ".join(
290 "%s=%r" % (k, v)
291 for k, v in self.__dict__.items()
292 if not k.startswith("_")
293 )
294
295
296class Timer():

Callers 9

_read_messageMethod · 0.90
sendMethod · 0.85
_do_controlMethod · 0.85
runMethod · 0.85
__next__Method · 0.85
stopMethod · 0.85
forcestopMethod · 0.85
accept_packetMethod · 0.85
reject_packetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected