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
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
Copyright © 2009–2015. All rights reserved.