A box receiver which records all boxes received.

Method __init__ Undocumented
Method getPeer Undocumented
Method getHost Undocumented
Method startReceivingBoxes No initialization is required.
Method ampBoxReceived Undocumented
Class Method parse Parse some amp data stored in a file.
Class Method parseString Parse some amp data stored in a string.
def __init__(self):
Undocumented
def getPeer(self):
Undocumented
def getHost(self):
Undocumented
def startReceivingBoxes(self, sender):

No initialization is required.

def ampBoxReceived(self, box):
Undocumented
@classmethod
def parse(cls, fileObj):

Parse some amp data stored in a file.

ParametersfileObja file-like object.
Returnsa list of AmpBoxes encoded in the given file.
@classmethod
def parseString(cls, data):

Parse some amp data stored in a string.

Parametersdataa str holding some amp-encoded data.
Returnsa list of AmpBoxes encoded in the given string.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.