public class NavigatorStatusTree extends XMLRequest implements java.lang.Iterable<NavigatorStatusTree.StatusNode>
| Modifier and Type | Class and Description |
|---|---|
class |
NavigatorStatusTree.StatusLeaf
Represents a leaf in the
NavigatorStatusTree. |
class |
NavigatorStatusTree.StatusNode
Represents a node in the
NavigatorStatusTree. |
| Constructor and Description |
|---|
NavigatorStatusTree() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
Creates the XML Document for the request.
|
protected java.lang.String |
getSrc()
Returns the request source.
|
protected void |
handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
protected boolean |
isAllowedInClientZero()
This method is used internally.
|
java.util.Iterator<NavigatorStatusTree.StatusNode> |
iterator()
Returns an Iterator which can be used to step through the
StatusNode items of the root. |
void |
setClient(int client)
Sets a specific client used as filter for the
NavigatorStatusTree. |
int |
size()
Returns the number of top level items in the Navigation Status Tree.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotificationprotected java.lang.String getSrc()
XMLRequestgetSrc in class XMLRequestprotected void createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
XMLRequestcreateRequest in class XMLRequestdoc - Document, used to create new Elementsrequest - Request Element - classes append information to this request elementsessionInfo - Information about the sessionprotected void handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session)
handleContent in class XMLRequestpublic java.util.Iterator<NavigatorStatusTree.StatusNode> iterator()
StatusNode items of the root.iterator in interface java.lang.Iterable<NavigatorStatusTree.StatusNode>StatusNodeprotected boolean isAllowedInClientZero()
XMLRequestXMLRequest is allowed in client 0.
The default implementation returns false, subclasses may override.isAllowedInClientZero in class XMLRequesttrue if this request is allowed in client 0, false otherwisepublic int size()
QueueItempublic void setClient(int client)
NavigatorStatusTree. This method is only used for client 0.
For all clients other 0 it has no effect.client - filter for the NavigatorStatusTree