public class NetworkInterfacesUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NetworkInterfacesUtil.NInterface |
Constructor and Description |
---|
NetworkInterfacesUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.Vector<NetworkInterfacesUtil.NInterface> |
getNetworkInterfaces()
BE CAREFUL this has a high cost if you call it very often.
|
static void |
main(java.lang.String[] args) |
static boolean |
testForReachability(java.lang.String host) |
static boolean |
testForReachability(java.lang.String host,
int port) |
public static final boolean testForReachability(java.lang.String host)
public static final boolean testForReachability(java.lang.String host, int port)
public static java.util.Vector<NetworkInterfacesUtil.NInterface> getNetworkInterfaces()
public static void main(java.lang.String[] args)
args
- Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.