java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.aoindustries.noc.monitor.NodeImpl
com.aoindustries.noc.monitor.net.HostsNode
- All Implemented Interfaces:
Node,Serializable,Remote
- Direct Known Subclasses:
OtherDevicesNode,PhysicalServersNode,VirtualServersNode
The top-level node has one child for each of the servers.
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
FieldsFields inherited from class java.rmi.server.RemoteObject
ref -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHostsNode(RootNodeImpl rootNode, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) -
Method Summary
Modifier and TypeMethodDescriptionfinal AlertLevelThe alert level is equal to the highest alert level of its children.final StringNo alert messages.final booleanfinal RootNodeImplprotected abstract booleanincludeHost(Host host) final voidstart()Methods inherited from class com.aoindustries.noc.monitor.NodeImpl
constrainAlertLevel, getAlertCategory, getLabel, getMaxAlertLevel, getSnapshot, getSnapshot, getSnapshot, getSnapshot, getSnapshot, getSnapshot, toStringMethods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObjectMethods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLogMethods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toStub
-
Field Details
-
rootNode
-
-
Constructor Details
-
HostsNode
protected HostsNode(RootNodeImpl rootNode, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException - Throws:
RemoteException
-
-
Method Details
-
getParent
-
getAllowsChildren
public final boolean getAllowsChildren()- Specified by:
getAllowsChildrenin interfaceNode- Specified by:
getAllowsChildrenin classNodeImpl
-
getChildren
- Specified by:
getChildrenin interfaceNode- Specified by:
getChildrenin classNodeImpl
-
getAlertLevel
The alert level is equal to the highest alert level of its children.- Specified by:
getAlertLevelin interfaceNode- Specified by:
getAlertLevelin classNodeImpl- See Also:
-
getAlertMessage
No alert messages.- Specified by:
getAlertMessagein interfaceNode- Specified by:
getAlertMessagein classNodeImpl
-
start
- Throws:
IOExceptionSQLException
-
includeHost
- Throws:
SQLExceptionIOException
-
