Searched refs:expectedFrom (Results 1 – 1 of 1) sorted by relevance
574 private void checkTcpReflection(String to, String expectedFrom) throws IOException { in checkTcpReflection() argument589 if (expectedFrom == null) { in checkTcpReflection()595 if (expectedFrom != null) { in checkTcpReflection()615 assertEquals(expectedFrom, client.getLocalAddress().getHostAddress()); in checkTcpReflection()616 assertEquals(expectedFrom, server.getLocalAddress().getHostAddress()); in checkTcpReflection()662 private void checkUdpEcho(String to, String expectedFrom) throws IOException { in checkUdpEcho() argument663 checkUdpEcho(to, expectedFrom, expectedFrom != null); in checkUdpEcho()666 private void checkUdpEcho(String to, String expectedFrom, in checkUdpEcho() argument684 if (expectedFrom != null) { in checkUdpEcho()686 expectedFrom, s.getLocalAddress().getHostAddress()); in checkUdpEcho()[all …]