public static class NetworkInfo.Interface extends Object implements Streamable, Serializable
| Constructor and Description |
|---|
Interface(String name,
String address,
String macAddress) |
| Modifier and Type | Method and Description |
|---|---|
String |
address() |
String |
getAddress() |
String |
getMacAddress() |
String |
getName() |
String |
macAddress() |
String |
name() |
void |
readFrom(StreamInput in) |
static NetworkInfo.Interface |
readNetworkInterface(StreamInput in) |
void |
writeTo(StreamOutput out) |
public String name()
public String getName()
public String address()
public String getAddress()
public String macAddress()
public String getMacAddress()
public static NetworkInfo.Interface readNetworkInterface(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionCopyright © 2009–2016. All rights reserved.