|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.libvirt.Network
public class Network
Method Summary | |
---|---|
void |
create()
Creates and starts this defined network. |
void |
destroy()
Destroy this network object. |
void |
finalize()
|
void |
free()
Frees this network object. |
boolean |
getAutostart()
Provides a boolean value indicating whether this network is configured to be automatically started when the host machine boots. |
java.lang.String |
getBridgeName()
Provides a bridge interface name to which a domain may connect a network interface in order to join this network. |
Connect |
getConnect()
Provides the connection pointer associated with this network. |
java.lang.String |
getName()
Gets the public name for this network |
int[] |
getUUID()
Gets the UUID for this network |
java.lang.String |
getUUIDString()
Gets the UUID for a network as string. |
java.lang.String |
getXMLDesc(int flags)
Provides an XML description of this network. |
void |
setAutostart(boolean autostart)
Configures this network to be automatically started when the host machine boots. |
void |
undefine()
Undefines this network but does not stop it if it is running |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void finalize() throws LibvirtException
finalize
in class java.lang.Object
LibvirtException
public java.lang.String getXMLDesc(int flags) throws LibvirtException
flags
- and OR'ed set of extraction flags, not used yet
LibvirtException
public boolean getAutostart() throws LibvirtException
LibvirtException
public void setAutostart(boolean autostart) throws LibvirtException
autostart
- whether the network should be automatically started 0 or 1
LibvirtException
public java.lang.String getBridgeName() throws LibvirtException
LibvirtException
public Connect getConnect()
public java.lang.String getName() throws LibvirtException
LibvirtException
public int[] getUUID() throws LibvirtException
LibvirtException
public java.lang.String getUUIDString() throws LibvirtException
LibvirtException
public void create() throws LibvirtException
LibvirtException
public void destroy() throws LibvirtException
LibvirtException
public void free() throws LibvirtException
LibvirtException
public void undefine() throws LibvirtException
LibvirtException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |