Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: third_party/twisted_8_1/twisted/pair/raw.py

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2001-2004 Twisted Matrix Laboratories.
2 # See LICENSE for details.
3
4 #
5
6 """Interface definitions for working with raw packets"""
7
8 from twisted.internet import protocol
9 from zope.interface import Interface
10
11 class IRawDatagramProtocol(Interface):
12 """An interface for protocols such as UDP, ICMP and TCP."""
13
14 def addProto():
15 """
16 Add a protocol on top of this one.
17 """
18
19 def datagramReceived():
20 """
21 An IP datagram has been received. Parse and process it.
22 """
23
24 class IRawPacketProtocol(Interface):
25 """An interface for low-level protocols such as IP and ARP."""
26
27 def addProto():
28 """
29 Add a protocol on top of this one.
30 """
31
32 def datagramReceived():
33 """
34 An IP datagram has been received. Parse and process it.
35 """
OLDNEW
« no previous file with comments | « third_party/twisted_8_1/twisted/pair/ip.py ('k') | third_party/twisted_8_1/twisted/pair/rawudp.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698