#NEWLINE# def __init__( self , reactor , host , port , timeout = 30 , bindAddress = None , precursor = None , credentials = None ) : #NEWLINE# #INDENT# self . _connections = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . reactor = reactor #NEWLINE# description = ( 'tcp:host=%s:port=%i:timeout=%i' % ( host , port , timeout ) ) #NEWLINE# if bindAddress : #NEWLINE# #INDENT# description += ( ':bindAddress=%s' % bindAddress ) #NEWLINE# #UNINDENT# self . endpoint = clientFromString ( reactor , description ) #NEWLINE# self . precursor = precursor #NEWLINE# self . credentials = ( credentials or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } )