Searched refs:expectedFrom (Results 1 – 1 of 1) sorted by relevance
335 private static void checkTcpReflection(String to, String expectedFrom) throws IOException { in checkTcpReflection() argument350 if (expectedFrom == null) { in checkTcpReflection()356 if (expectedFrom != null) { in checkTcpReflection()375 assertEquals(expectedFrom, client.getLocalAddress().getHostAddress()); in checkTcpReflection()376 assertEquals(expectedFrom, server.getLocalAddress().getHostAddress()); in checkTcpReflection()406 private static void checkUdpEcho(String to, String expectedFrom) throws IOException { in checkUdpEcho() argument422 if (expectedFrom != null) { in checkUdpEcho()424 expectedFrom, s.getLocalAddress().getHostAddress()); in checkUdpEcho()428 if (expectedFrom != null) { in checkUdpEcho()