Package com.aoindustries.noc.monitor.net
Class UnallocatedNode
- 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.UnallocatedNode
-
- All Implemented Interfaces:
Node
,Serializable
,Remote
public class UnallocatedNode extends NodeImpl
The node for unallocated resources that can still be monitored.- Author:
- AO Industries, Inc.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnallocatedNode(RootNodeImpl rootNode, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertCategory
getAlertCategory()
Defaults to the alert category of the parent node.AlertLevel
getAlertLevel()
The alert level is equal to the highest alert level of its children.String
getAlertMessage()
No alert messages.boolean
getAllowsChildren()
List<IpAddressesNode>
getChildren()
String
getLabel()
RootNodeImpl
getParent()
void
start()
void
stop()
-
Methods inherited from class com.aoindustries.noc.monitor.NodeImpl
constrainAlertLevel, 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
-
-
-
-
Constructor Detail
-
UnallocatedNode
public UnallocatedNode(RootNodeImpl rootNode, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException
- Throws:
RemoteException
-
-
Method Detail
-
getParent
public RootNodeImpl getParent()
-
getAllowsChildren
public boolean getAllowsChildren()
- Specified by:
getAllowsChildren
in interfaceNode
- Specified by:
getAllowsChildren
in classNodeImpl
-
getChildren
public List<IpAddressesNode> getChildren()
- Specified by:
getChildren
in interfaceNode
- Specified by:
getChildren
in classNodeImpl
-
getAlertLevel
public AlertLevel 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:
NodeImpl.constrainAlertLevel(com.aoindustries.noc.monitor.common.AlertLevel)
-
getAlertMessage
public String getAlertMessage()
No alert messages.- Specified by:
getAlertMessage
in interfaceNode
- Specified by:
getAlertMessage
in classNodeImpl
-
getAlertCategory
public AlertCategory getAlertCategory()
Description copied from class:NodeImpl
Defaults to the alert category of the parent node.- Specified by:
getAlertCategory
in interfaceNode
- Overrides:
getAlertCategory
in classNodeImpl
- See Also:
NodeImpl.getParent()
-
getLabel
public String getLabel()
-
start
public void start() throws IOException, SQLException
- Throws:
IOException
SQLException
-
stop
public void stop()
-
-