public class ConfigurableHost extends Object implements Comparable<ConfigurableHost>
| Constructor and Description |
|---|
ConfigurableHost(String ident,
IPacketAddress src) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ConfigurableHost b) |
boolean |
equals(Object obj) |
String |
getIpAddressString() |
String |
getMacAddressString() |
static String |
getMachineMacAddressString() |
int |
hashCode() |
boolean |
isSameAs(ConfigurableHost ch)
Compare all fields, not just ident.
|
String |
toString() |
public ConfigurableHost(String ident, IPacketAddress src)
public int compareTo(ConfigurableHost b)
compareTo in interface Comparable<ConfigurableHost>public boolean isSameAs(ConfigurableHost ch)
ch - To compare withpublic String getMacAddressString()
public String getIpAddressString()
public static String getMachineMacAddressString()
Copyright © 2019. All rights reserved.