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
ConstructorDescriptionBackupsNode
(HostNode hostNode, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addTableResultListener
(TableResultListener tableResultListener) The alert level is equal to the highest alert level of its children.No alert messages.boolean
getLabel()
final void
removeTableResultListener
(TableResultListener tableResultListener) void
start()
void
stop()
void
tableResultUpdated
(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, toString
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toStub
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getAllowsChildren
in interfaceNode
- Specified by:
getAllowsChildren
in classNodeImpl
-
getChildren
- Specified by:
getChildren
in interfaceNode
- Specified by:
getChildren
in classNodeImpl
-
getAlertLevel
The alert level is equal to the highest alert level of its children.- Specified by:
getAlertLevel
in interfaceNode
- Specified by:
getAlertLevel
in classNodeImpl
- See Also:
-
getAlertMessage
No alert messages.- Specified by:
getAlertMessage
in interfaceNode
- Specified by:
getAlertMessage
in classNodeImpl
-
getLabel
-
start
- Throws:
IOException
SQLException
-
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:
tableResultUpdated
in interfaceTableResultListener
-
addTableResultListener
- Specified by:
addTableResultListener
in interfaceTableResultNode
-
removeTableResultListener
- Specified by:
removeTableResultListener
in interfaceTableResultNode
-
getLastResult
- Specified by:
getLastResult
in interfaceTableResultNode
-