Package com.aoindustries.noc.monitor.net
Class OtherDevicesNode
- 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
-
- com.aoindustries.noc.monitor.net.OtherDevicesNode
-
- All Implemented Interfaces:
Node
,Serializable
,Remote
public class OtherDevicesNode extends HostsNode
The top-level node has one child for each of the servers.- Author:
- AO Industries, Inc.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OtherDevicesNode(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.String
getLabel()
protected boolean
includeHost(Host host)
-
Methods inherited from class com.aoindustries.noc.monitor.net.HostsNode
getAlertLevel, getAlertMessage, getAllowsChildren, getChildren, getParent, start
-
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
-
OtherDevicesNode
public OtherDevicesNode(RootNodeImpl rootNode, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException
- Throws:
RemoteException
-
-
Method Detail
-
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()
-
includeHost
protected boolean includeHost(Host host) throws SQLException, IOException
- Specified by:
includeHost
in classHostsNode
- Throws:
SQLException
IOException
-
-