class documentation

class MyProtocol:

Constructor: MyProtocol(expecting)

Implements interfaces: twisted.pair.raw.IRawDatagramProtocol

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method addProto Add a protocol on top of this one.
Method datagramReceived An IP datagram has been received. Parse and process it.
Instance Variable expecting Undocumented
def __init__(self, expecting: list[tuple[bytes, dict[str, str | int]]]):

Undocumented

def addProto(self, num: object, proto: object):

Add a protocol on top of this one.

def datagramReceived(self, data: bytes, partial: int, source: str, dest: str, protocol: int, version: int, ihl: int, tos: int, tot_len: int, fragment_id: int, fragment_offset: int, dont_fragment: int, more_fragments: int, ttl: int):

An IP datagram has been received. Parse and process it.

expecting =

Undocumented