public class AgentList extends XMLRequest implements java.lang.Iterable<AgentListItem>
Constructor and Description |
---|
AgentList() |
Modifier and Type | Method and Description |
---|---|
AgentListItem |
getAgentByName(UC4HostName name)
Returns the AgentListItem for the specified name or
null if not found. |
java.util.Iterator<AgentListItem> |
iterator()
Returns an Iterator which can be used to step through the
AgentListItem . |
void |
setSimpleList(boolean simpleList)
Sets to simple list mode.
|
int |
size()
Returns the total number of items in the Agent list (active and inactive).
|
getMessageBox, getRequestID, handleResponse, send
public AgentListItem getAgentByName(UC4HostName name)
null
if not found.name
- Name of the Agentpublic java.util.Iterator<AgentListItem> iterator()
AgentListItem
.iterator
in interface java.lang.Iterable<AgentListItem>
AgentListItem
public int size()
AgentListItem
public void setSimpleList(boolean simpleList)
simpleList
- true to enable simple-list mode, false to fetch all agent attributes (default)