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): (source)
Undocumented
def getPeer(self): (source)
Undocumented
def getHost(self): (source)
Undocumented
def startReceivingBoxes(self, sender): (source)

No initialization is required.

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

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): (source)

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 2018-10-15 19:29:43.