← Back
Editing: raw.cpython-38.pyc
U W[+ � @ s4 d Z ddlmZ G dd� de�ZG dd� de�ZdS )z4 Interface definitions for working with raw packets � )� Interfacec @ s e Zd ZdZdd� Zdd� ZdS )�IRawDatagramProtocolz? An interface for protocols such as UDP, ICMP and TCP. c C s dS �z4 Add a protocol on top of this one. N� r r r �2/usr/lib/python3/dist-packages/twisted/pair/raw.py�addProto s zIRawDatagramProtocol.addProtoc C s dS �zI An IP datagram has been received. Parse and process it. Nr r r r r �datagramReceived s z%IRawDatagramProtocol.datagramReceivedN��__name__� __module__�__qualname__�__doc__r r r r r r r s r c @ s e Zd ZdZdd� Zdd� ZdS )�IRawPacketProtocolzB An interface for low-level protocols such as IP and ARP. c C s dS r r r r r r r s zIRawPacketProtocol.addProtoc C s dS r r r r r r r % s z#IRawPacketProtocol.datagramReceivedNr r r r r r s r N)r Zzope.interfacer r r r r r r �<module> s
Save File
Cancel