HostCandidate extends IceCandidate { public HostCandidate(IceComponent component, InetAddress address, int port) { super(component, address, port, CandidateType.HOST); this.base = this; } HostCandidate(IceComponent component, InetAddress address, int port);  HostCandidate(IceComponent component, String hostname, int port);   }
@Test public void testHostCandidate() { IceComponent rtpComponent = new IceComponent(IceComponent.RTP_ID); HostCandidate candidate = new HostCandidate(rtpComponent, "192.168.1.65", 6100); assertEquals(CandidateType.HOST, candidate.getType()); assertEquals(IceCandidate.IP4_PRECEDENCE, candidate.getAddressPrecedence()); assertTrue(candidate.isIPv4()); assertEquals(candidate, candidate.getBase()); }