Package org.libvirt
Class NetworkFilter
java.lang.Object
org.libvirt.NetworkFilter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
finalize()
int
free()
Release the network filter handle.getName()
Gets the public name for this network filterint[]
getUUID()
Get the UUID for this network filter.Gets the UUID for this network filter as string.Fetches an XML document describing attributes of the network filter.protected void
Error handling logic to throw errors.void
undefine()
undefine the network filter
-
Field Details
-
libvirt
The libvirt connection from the hypervisor
-
-
Constructor Details
-
NetworkFilter
-
-
Method Details
-
finalize
- Overrides:
finalize
in classObject
- Throws:
LibvirtException
-
free
Release the network filter handle. The underlying snapshot continues to exist.- Returns:
- 0 on success, or -1 on error.
- Throws:
LibvirtException
-
getName
Gets the public name for this network filter- Returns:
- the name
- Throws:
LibvirtException
-
getUUID
Get the UUID for this network filter.- Returns:
- the UUID as an unpacked int array
- Throws:
LibvirtException
- See Also:
-
getUUIDString
Gets the UUID for this network filter as string.- Returns:
- the UUID in canonical String format
- Throws:
LibvirtException
- See Also:
-
getXMLDesc
Fetches an XML document describing attributes of the network filter.- Returns:
- the XML document
- Throws:
LibvirtException
- See Also:
-
processError
Error handling logic to throw errors. Must be called after every libvirt call.- Throws:
LibvirtException
-
undefine
undefine the network filter- Throws:
LibvirtException
-