#NEWLINE# def _getAddress( self , result ) : #NEWLINE# #INDENT# " Internally used method which is part of a callback chain.\n            Its task is to verify that both endpoints are ready for the\n            connection attempt. In case both signal readiness the address\n            of the designated server endpoint is retrieved.\n\n            @param result:      Response of the DeferredList containing the\n                                Deferreds of the 'prepareConnection' calls.\n\n            @return:            Address of the endpoint's internal\n                                communication server.\n            @rtype:             twisted.internet.address.IPv4Address\n        " #NEWLINE# ( ( serverReady , _ ) , ( clientReady , _ ) ) = result #NEWLINE# if ( not ( serverReady and clientReady ) ) : #NEWLINE# #INDENT# return Failure ( InternalError ( 'Server/Client could not be prepared for connection attempt.' ) ) #NEWLINE# #UNINDENT# return self . _serverEndpoint . getAddress ( )