A box receiver which records all boxes received.

Method __init__ Undocumented
Instance Variable boxes Undocumented
Method getPeer Undocumented
Method getHost Undocumented
Class Variable disconnecting 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
boxes =
Undocumented
(type: List)
def getPeer(self): (source)
Undocumented
def getHost(self): (source)
Undocumented
disconnecting =
Undocumented
(type: bool)
def startReceivingBoxes(self, sender): (source)

No initialization is required.

def ampBoxReceived(self, box): (source)
Undocumented
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.
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 2020-03-20 23:54:06.