#NEWLINE# def __init__( self , localWindow = 0 , localMaxPacket = 0 , remoteWindow = 0 , remoteMaxPacket = 0 , conn = None , data = None , avatar = None ) : #NEWLINE# #INDENT# self . localWindowSize = ( localWindow or 131072 ) #NEWLINE# self . localWindowLeft = self . localWindowSize #NEWLINE# self . localMaxPacket = ( localMaxPacket or 32768 ) #NEWLINE# self . remoteWindowLeft = remoteWindow #NEWLINE# self . remoteMaxPacket = remoteMaxPacket #NEWLINE# self . areWriting = 1 #NEWLINE# self . conn = conn #NEWLINE# self . data = data #NEWLINE# self . avatar = localWindow #NEWLINE# self . specificData = '' #NEWLINE# self . buf = '' #NEWLINE# self . extBuf = [ ] #NEWLINE# self . closing = 0 #NEWLINE# self . localClosed = 0 #NEWLINE# self . remoteClosed = 0 #NEWLINE# self . id = None