public class IHostNetworkInterface extends IUnknown
Constructor and Description |
---|
IHostNetworkInterface(java.lang.String wrapped,
org.virtualbox_6_0.ObjectRefManager objMgr,
org.virtualbox_6_0.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
void |
DHCPRediscover()
refreshes the IP configuration for DHCP-enabled interface.
|
void |
enableDynamicIPConfig()
enables the dynamic IP configuration.
|
void |
enableStaticIPConfig(java.lang.String IPAddress,
java.lang.String networkMask)
sets and enables the static IP V4 configuration for the given interface.
|
void |
enableStaticIPConfigV6(java.lang.String IPV6Address,
java.lang.Long IPV6NetworkMaskPrefixLength)
sets and enables the static IP V6 configuration for the given interface.
|
java.lang.Boolean |
getDHCPEnabled()
Specifies whether the DHCP is enabled for the interface.
|
java.lang.String |
getHardwareAddress()
Returns the hardware address.
|
java.lang.String |
getId()
Returns the interface UUID.
|
HostNetworkInterfaceType |
getInterfaceType()
specifies the host interface type.
|
java.lang.String |
getIPAddress()
Returns the IP V4 address of the interface.
|
java.lang.String |
getIPV6Address()
Returns the IP V6 address of the interface.
|
java.lang.Long |
getIPV6NetworkMaskPrefixLength()
Returns the length IP V6 network mask prefix of the interface.
|
java.lang.Boolean |
getIPV6Supported()
Specifies whether the IP V6 is supported/enabled for the interface.
|
HostNetworkInterfaceMediumType |
getMediumType()
Type of protocol encapsulation used.
|
java.lang.String |
getName()
Returns the host network interface name.
|
java.lang.String |
getNetworkMask()
Returns the network mask of the interface.
|
java.lang.String |
getNetworkName()
Returns the name of a virtual network the interface gets attached to.
|
java.lang.String |
getShortName()
Returns the host network interface short name.
|
HostNetworkInterfaceStatus |
getStatus()
Status of the interface.
|
java.lang.Boolean |
getWireless()
Specifies whether the interface is wireless.
|
static IHostNetworkInterface |
queryInterface(IUnknown obj) |
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IHostNetworkInterface(java.lang.String wrapped, org.virtualbox_6_0.ObjectRefManager objMgr, org.virtualbox_6_0.jaxws.VboxPortType port)
public java.lang.String getName()
public java.lang.String getShortName()
public java.lang.String getId()
public java.lang.String getNetworkName()
public java.lang.Boolean getDHCPEnabled()
public java.lang.String getIPAddress()
public java.lang.String getNetworkMask()
public java.lang.Boolean getIPV6Supported()
public java.lang.String getIPV6Address()
public java.lang.Long getIPV6NetworkMaskPrefixLength()
public java.lang.String getHardwareAddress()
public HostNetworkInterfaceMediumType getMediumType()
public HostNetworkInterfaceStatus getStatus()
public HostNetworkInterfaceType getInterfaceType()
public java.lang.Boolean getWireless()
public static IHostNetworkInterface queryInterface(IUnknown obj)
public void enableStaticIPConfig(java.lang.String IPAddress, java.lang.String networkMask)
IPAddress
- IP address.networkMask
- network mask.public void enableStaticIPConfigV6(java.lang.String IPV6Address, java.lang.Long IPV6NetworkMaskPrefixLength)
IPV6Address
- IP address.IPV6NetworkMaskPrefixLength
- network mask.public void enableDynamicIPConfig()
public void DHCPRediscover()