1 7 8 package java.net; 9 import java.io.IOException ; 10 19 interface InetAddressImpl { 20 21 String getLocalHostName() throws UnknownHostException ; 22 InetAddress [] 23 lookupAllHostAddr(String hostname) throws UnknownHostException ; 24 String getHostByAddr(byte[] addr) throws UnknownHostException ; 25 26 InetAddress anyLocalAddress(); 27 InetAddress loopbackAddress(); 28 boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, 29 int ttl) throws IOException ; 30 } 31 32 | Popular Tags |