ALL, client, elementName, infoMethod, MINE, MINE_GROUP, poolElements
Constructor and Description |
---|
VdcPool(Client client)
Creates a new vdc pool
|
Modifier and Type | Method and Description |
---|---|
PoolElement |
factory(org.w3c.dom.Node node)
The factory method returns a suitable PoolElement object from
an XML node.
|
Vdc |
getById(int id)
Returns the Vdc with the given Id from the pool.
|
OneResponse |
info()
Loads the xml representation of the vdc pool.
|
static OneResponse |
info(Client client)
Retrieves all the vdcs in the pool.
|
java.util.Iterator<Vdc> |
iterator() |
getLength, info, info, info, infoAll, infoAll, infoGroup, infoGroup, infoMine, infoMine, item, processInfo, xmlrpcInfo
public VdcPool(Client client)
client
- XML-RPC Client.public PoolElement factory(org.w3c.dom.Node node)
Pool
public static OneResponse info(Client client)
client
- XML-RPC Client.public OneResponse info()
info
in class Pool
info(Client)
public java.util.Iterator<Vdc> iterator()
iterator
in interface java.lang.Iterable<Vdc>
Visit OpenNebula.org
Copyright 2002-2015 ©
OpenNebula Project, OpenNebula Systems.