interface documentation

class IEthernetProtocol(Interface): (source)

Known implementations: twisted.pair.ethernet.EthernetProtocol

View In Hierarchy

An interface for protocols that handle Ethernet frames

Method addProto Add an IRawPacketProtocol protocol
Method datagramReceived An Ethernet frame has been received
def addProto(num, proto): (source)

Add an IRawPacketProtocol protocol

def datagramReceived(data, partial): (source)

An Ethernet frame has been received