class documentation

class _ParserHelper:

View In Hierarchy

A box receiver which records all boxes received.

Class Method parse Parse some amp data stored in a file.
Class Method parseString Parse some amp data stored in a string.
Method __init__ Undocumented
Method ampBoxReceived Undocumented
Method getHost Undocumented
Method getPeer Undocumented
Method startReceivingBoxes No initialization is required.
Class Variable disconnecting Undocumented
Instance Variable boxes Undocumented
@classmethod
def parse(cls, fileObj):

Parse some amp data stored in a file.

Parameters
fileObja file-like object.
Returns
a list of AmpBoxes encoded in the given file.
@classmethod
def parseString(cls, data):

Parse some amp data stored in a string.

Parameters
dataa str holding some amp-encoded data.
Returns
a list of AmpBoxes encoded in the given string.
def __init__(self):

Undocumented

def ampBoxReceived(self, box):

Undocumented

def getHost(self):

Undocumented

def getPeer(self):

Undocumented

def startReceivingBoxes(self, sender):

No initialization is required.

disconnecting: bool =

Undocumented

boxes: list =

Undocumented