#NEWLINE# def __init__( self , user , realm , factory , address = address . IPv4Address ( 'TCP' , '127.0.0.1' , 54321 ) ) : #NEWLINE# #INDENT# self . user = user #NEWLINE# self . transport = proto_helpers . StringTransportWithDisconnection ( ) #NEWLINE# self . protocol = factory . buildProtocol ( address ) #NEWLINE# self . transport . protocol = self . protocol #NEWLINE# self . user . mind = self . protocol #NEWLINE# self . protocol . makeConnection ( self . transport )