return port
def establish_connection(self, endpoint, remote_endpoint, port):
- endpoint.establish_udp_connection(remote_endpoint, port)
+ connection_app_home = self.app_home(endpoint)
+ connection_run_home = self.run_home(endpoint)
+
+ endpoint.establish_udp_connection(remote_endpoint,
+ connection_app_home,
+ connection_run_home,
+ port)
def verify_connection(self, endpoint, remote_endpoint):
endpoint.verify_connection()