org.elasticsearch.monitor.network
Class NetworkInfo.Interface
java.lang.Object
org.elasticsearch.monitor.network.NetworkInfo.Interface
- All Implemented Interfaces:
- Serializable, Streamable
- Enclosing class:
- NetworkInfo
public static class NetworkInfo.Interface
- extends Object
- implements Streamable, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetworkInfo.Interface
public NetworkInfo.Interface(String name,
String address,
String macAddress)
name
public String name()
getName
public String getName()
address
public String address()
getAddress
public String getAddress()
macAddress
public String macAddress()
getMacAddress
public String getMacAddress()
readNetworkInterface
public static NetworkInfo.Interface readNetworkInterface(StreamInput in)
throws IOException
- Throws:
IOException
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.