public class IBandwidthControl extends IUnknown
Constructor and Description |
---|
IBandwidthControl(java.lang.String wrapped,
org.virtualbox_6_0.ObjectRefManager objMgr,
org.virtualbox_6_0.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
void |
createBandwidthGroup(java.lang.String name,
BandwidthGroupType type,
java.lang.Long maxBytesPerSec)
Creates a new bandwidth group.
|
void |
deleteBandwidthGroup(java.lang.String name)
Deletes a new bandwidth group.
|
java.util.List<IBandwidthGroup> |
getAllBandwidthGroups()
Get all managed bandwidth groups.
|
IBandwidthGroup |
getBandwidthGroup(java.lang.String name)
Get a bandwidth group by name.
|
java.lang.Long |
getNumGroups()
The current number of existing bandwidth groups managed.
|
static IBandwidthControl |
queryInterface(IUnknown obj) |
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IBandwidthControl(java.lang.String wrapped, org.virtualbox_6_0.ObjectRefManager objMgr, org.virtualbox_6_0.jaxws.VboxPortType port)
public java.lang.Long getNumGroups()
public static IBandwidthControl queryInterface(IUnknown obj)
public void createBandwidthGroup(java.lang.String name, BandwidthGroupType type, java.lang.Long maxBytesPerSec)
name
- Name of the bandwidth group.type
- The type of the bandwidth group (network or disk).maxBytesPerSec
- The maximum number of bytes which can be transfered by all
entities attached to this group during one second.public void deleteBandwidthGroup(java.lang.String name)
name
- Name of the bandwidth group to delete.public IBandwidthGroup getBandwidthGroup(java.lang.String name)
name
- Name of the bandwidth group to get.public java.util.List<IBandwidthGroup> getAllBandwidthGroups()