Skip to content

Instantly share code, notes, and snippets.

@martin-cowie
Created April 21, 2017 14:01
Show Gist options
  • Save martin-cowie/f7cb0c0fc5fef2e08c15a98510d2c663 to your computer and use it in GitHub Desktop.
Save martin-cowie/f7cb0c0fc5fef2e08c15a98510d2c663 to your computer and use it in GitHub Desktop.
package com.acme;
/**
* JMX interface to a Network Interface Card
*
* @author martincowie - created Mar 12, 2012
*/
public interface NICMBean {
public abstract String getDisplayName();
public abstract String getHardwareAddress();
public abstract String getIPAddresses();
public abstract int getMTU();
public abstract String getParentName();
public abstract boolean isLoopBack();
public abstract boolean isPointToPoint();
public abstract boolean isUp();
public abstract boolean isVirtual();
public abstract boolean isMulticast();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment