Package com.aoindustries.noc.monitor
Class SingleResultNodeImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.aoindustries.noc.monitor.NodeImpl
com.aoindustries.noc.monitor.SingleResultNodeImpl
- All Implemented Interfaces:
Node
,SingleResultNode
,Serializable
,Remote
- Direct Known Subclasses:
DeviceBondingNode
,MdStatNode
,ThreeWareRaidNode
The node for single results.
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class java.rmi.server.RemoteObject
ref
-
Constructor Summary
ModifierConstructorDescriptionprotected
SingleResultNodeImpl
(RootNodeImpl rootNode, NodeImpl parent, SingleResultWorker worker, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addSingleResultListener
(SingleResultListener singleResultListener) final AlertLevel
This alert level must be constrained by the maximum alert level of this node and all of its parents.final String
final boolean
final SingleResult
final NodeImpl
final void
removeSingleResultListener
(SingleResultListener singleResultListener) final void
start()
final void
stop()
Methods inherited from class com.aoindustries.noc.monitor.NodeImpl
constrainAlertLevel, getAlertCategory, getLabel, 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, getLabel
-
Field Details
-
rootNode
-
parent
-
-
Constructor Details
-
SingleResultNodeImpl
protected SingleResultNodeImpl(RootNodeImpl rootNode, NodeImpl parent, SingleResultWorker worker, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException - Throws:
RemoteException
-
-
Method Details
-
getParent
-
getAllowsChildren
public final boolean getAllowsChildren()- Specified by:
getAllowsChildren
in interfaceNode
- Specified by:
getAllowsChildren
in classNodeImpl
-
getChildren
- Specified by:
getChildren
in interfaceNode
- Specified by:
getChildren
in classNodeImpl
-
getAlertLevel
Description copied from class:NodeImpl
This alert level must be constrained by the maximum alert level of this node and all of its parents.- Specified by:
getAlertLevel
in interfaceNode
- Specified by:
getAlertLevel
in classNodeImpl
- See Also:
-
getAlertMessage
- Specified by:
getAlertMessage
in interfaceNode
- Specified by:
getAlertMessage
in classNodeImpl
-
start
public final void start() -
stop
public final void stop() -
getLastResult
- Specified by:
getLastResult
in interfaceSingleResultNode
-
addSingleResultListener
- Specified by:
addSingleResultListener
in interfaceSingleResultNode
-
removeSingleResultListener
- Specified by:
removeSingleResultListener
in interfaceSingleResultNode
-