org.elasticsearch.monitor.network
Class NetworkInfo.Interface

java.lang.Object
  extended by 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

Constructor Summary
NetworkInfo.Interface(String name, String address, String macAddress)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkInfo.Interface

public NetworkInfo.Interface(String name,
                             String address,
                             String macAddress)
Method Detail

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.