org.jdiagnose.remote.system
Class DefaultRemoteHost
java.lang.Object
org.jdiagnose.remote.system.DefaultRemoteHost
- All Implemented Interfaces:
- Monitorable, MonitorableComposite, RemoteHost
- public class DefaultRemoteHost
- extends java.lang.Object
- implements RemoteHost
- Author:
- jmccrindle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultRemoteHost
public DefaultRemoteHost()
DefaultRemoteHost
public DefaultRemoteHost(java.lang.String name)
- Parameters:
name
-
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name to set.
getName
public java.lang.String getName()
- Specified by:
getName
in interface RemoteHost
getAgents
public java.util.Iterator getAgents()
- Specified by:
getAgents
in interface RemoteHost
getAgentsMap
public java.util.Map getAgentsMap()
- Returns:
- Returns the agentsMap.
getAgentAtHost
public RemoteAgentAtHost getAgentAtHost(java.lang.String name)
setAgentsMap
public void setAgentsMap(java.util.Map agentsMap)
- Parameters:
agentsMap
- The agentsMap to set.
isUp
public boolean isUp()
- Specified by:
isUp
in interface Monitorable
toString
public java.lang.String toString()
getAgent
public RemoteAgentAtHost getAgent(java.lang.String agent)
- Specified by:
getAgent
in interface RemoteHost
getCompositeStatistics
public CompositeStatistics getCompositeStatistics()
- Specified by:
getCompositeStatistics
in interface MonitorableComposite
Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.