public abstract class AbstractNetwork extends Object implements Network
Network.
Copyright (c) 2016. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNetwork(String id,
String macAddress)
Constructs an
AbstractNetwork. |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Obtain the identifier for the
Network. |
String |
getMacAddress()
Obtains the mac address for the
Network. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCollectorClass, isPublic, writeprotected AbstractNetwork(String id, String macAddress)
AbstractNetwork.id - the network idmacAddress - the mac address (may be null)public String getId()
NetworkNetwork.
For example: "eth1"
public String getMacAddress()
NetworkNetwork.getMacAddress in interface NetworkCopyright © 2017. All rights reserved.