Searched refs:FakeSocketAddress (Results 1 – 7 of 7) sorted by relevance
21 final class FakeSocketAddress extends SocketAddress { class24 FakeSocketAddress(String name) { in FakeSocketAddress() method in FakeSocketAddress35 if (other instanceof FakeSocketAddress) { in equals()36 FakeSocketAddress otherAddr = (FakeSocketAddress) other; in equals()
54 new EquivalentAddressGroup(new FakeSocketAddress("fake-address-1"), Attributes.EMPTY);56 new EquivalentAddressGroup(new FakeSocketAddress("fake-address-2"), Attributes.EMPTY);
830 new FakeSocketAddress("somethingNew"), lbAttributes(newAuthority))); in grpclbUpdatedAddresses_reconnectOnAuthorityChange()1397 new FakeSocketAddress("fake-address-1"), in grpclbMultipleAuthorities()1400 new FakeSocketAddress("fake-address-2"), in grpclbMultipleAuthorities()1403 new FakeSocketAddress("not-a-lb-address")), in grpclbMultipleAuthorities()1405 new FakeSocketAddress("fake-address-3"), in grpclbMultipleAuthorities()1409 new FakeSocketAddress("fake-address-1"), in grpclbMultipleAuthorities()1410 new FakeSocketAddress("fake-address-3")), in grpclbMultipleAuthorities()1557 SocketAddress addr = new FakeSocketAddress("fake-address-" + i); in createResolvedServerAddresses()
414 SocketAddress addr = new FakeSocketAddress(); in updateAddresses_emptyEagList_throws()422 SocketAddress addr = new FakeSocketAddress(); in updateAddresses_eagListWithNull_throws()1005 SocketAddress addr1 = new FakeSocketAddress(); in index_looping()1006 SocketAddress addr2 = new FakeSocketAddress(); in index_looping()1007 SocketAddress addr3 = new FakeSocketAddress(); in index_looping()1008 SocketAddress addr4 = new FakeSocketAddress(); in index_looping()1009 SocketAddress addr5 = new FakeSocketAddress(); in index_looping()1066 SocketAddress addr1 = new FakeSocketAddress(); in index_updateGroups_resets()1067 SocketAddress addr2 = new FakeSocketAddress(); in index_updateGroups_resets()1068 SocketAddress addr3 = new FakeSocketAddress(); in index_updateGroups_resets()[all …]
154 addrs.add(new FakeSocketAddress("servergroup" + i + "server" + j)); in setUp()331 changedList.add(new FakeSocketAddress("aDifferentServer")); in updateSubchannelAddresses_existingAddressDoesNotConnect()421 changedList.add(new FakeSocketAddress("aDifferentServer")); in updateOobChannelAddresses_existingAddressDoesNotConnect()440 private static class FakeSocketAddress extends SocketAddress {443 FakeSocketAddress(String name) {
82 SocketAddress addr = new FakeSocketAddress("server" + i); in setUp()135 SocketAddress socketAddr = new FakeSocketAddress("newserver"); in pickAfterResolvedAndChanged()260 private static class FakeSocketAddress extends SocketAddress { class in PickFirstLoadBalancerTest263 FakeSocketAddress(String name) { in FakeSocketAddress() method in PickFirstLoadBalancerTest.FakeSocketAddress
115 SocketAddress addr = new FakeSocketAddress("server" + i); in setUp()181 FakeSocketAddress removedAddr = new FakeSocketAddress("removed"); in pickAfterResolvedUpdatedHosts()182 FakeSocketAddress oldAddr = new FakeSocketAddress("old"); in pickAfterResolvedUpdatedHosts()183 FakeSocketAddress newAddr = new FakeSocketAddress("new"); in pickAfterResolvedUpdatedHosts()767 private static class FakeSocketAddress extends SocketAddress { class in RoundRobinLoadBalancerTest770 FakeSocketAddress(String name) { in FakeSocketAddress() method in RoundRobinLoadBalancerTest.FakeSocketAddress