Class BackupsNode
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.aoindustries.noc.monitor.NodeImpl
com.aoindustries.noc.monitor.backup.BackupsNode
- All Implemented Interfaces:
Node,TableResultListener,TableResultNode,Serializable,Remote
The node per server.
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class java.rmi.server.RemoteObject
ref -
Constructor Summary
ConstructorsConstructorDescriptionBackupsNode(HostNode hostNode, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddTableResultListener(TableResultListener tableResultListener) The alert level is equal to the highest alert level of its children.No alert messages.booleangetLabel()final voidremoveTableResultListener(TableResultListener tableResultListener) voidstart()voidstop()voidtableResultUpdated(TableResult tableResult) Listens for updates in its children nodes and recreates its own internal state off the most recently available line of each child.Methods inherited from class com.aoindustries.noc.monitor.NodeImpl
constrainAlertLevel, getAlertCategory, 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, toStubMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.aoindustries.noc.monitor.common.Node
getAlertCategory
-
Constructor Details
-
BackupsNode
public BackupsNode(HostNode hostNode, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException - Throws:
RemoteException
-
-
Method Details
-
getParent
-
getAllowsChildren
public 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
-
getLabel
-
start
- Throws:
IOExceptionSQLException
-
stop
public void stop() -
tableResultUpdated
Listens for updates in its children nodes and recreates its own internal state off the most recently available line of each child.- Specified by:
tableResultUpdatedin interfaceTableResultListener
-
addTableResultListener
- Specified by:
addTableResultListenerin interfaceTableResultNode
-
removeTableResultListener
- Specified by:
removeTableResultListenerin interfaceTableResultNode
-
getLastResult
- Specified by:
getLastResultin interfaceTableResultNode
-
