|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.virtualbox_7_0.IUnknown
org.virtualbox_7_0.IHostNetworkInterface
public class IHostNetworkInterface
Represents one of host's network interfaces. IP V6 address and network mask are strings of 32 hexadecimal digits grouped by four. Groups are separated by colons. For example, fe80:0000:0000:0000:021e:c2ff:fed2:b030. Interface ID: {455F8C45-44A0-A470-BA20-27890B96DBA9}
Field Summary |
---|
Fields inherited from class org.virtualbox_7_0.IUnknown |
---|
obj, objMgr, port |
Constructor Summary | |
---|---|
IHostNetworkInterface(java.lang.String wrapped,
org.virtualbox_7_0.ObjectRefManager objMgr,
org.virtualbox_7_0.jaxws.VboxPortType port)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.virtualbox_7_0.IUnknown |
---|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IHostNetworkInterface(java.lang.String wrapped, org.virtualbox_7_0.ObjectRefManager objMgr, org.virtualbox_7_0.jaxws.VboxPortType port)
Method Detail |
---|
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()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |