public class DisconnectHost extends XMLRequest
| Constructor and Description |
|---|
DisconnectHost(AgentListItem item)
Creates a new
DisconnectHost request. |
DisconnectHost(java.util.List<java.lang.String> items)
Deprecated.
Internal use only.
|
DisconnectHost(java.lang.String versionType)
Disconnects all agents of the given zdu type.
|
| 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 boolean |
isAllowedInClientZero()
This method is used internally.
|
protected void |
setRequestParameters(org.w3c.dom.Element request,
java.lang.String id) |
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleContent, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotificationpublic DisconnectHost(AgentListItem item)
DisconnectHost request.item - Agent from the AgentList@Deprecated public DisconnectHost(java.util.List<java.lang.String> items)
items - List of idspublic DisconnectHost(java.lang.String versionType)
versionType - either "T" (target version) or "B" (base version)protected 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 setRequestParameters(org.w3c.dom.Element request,
java.lang.String id)
protected 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 otherwise