org.jdiagnose.remote.system
Class DefaultRemoteHost

java.lang.Object
  extended byorg.jdiagnose.remote.system.DefaultRemoteHost
All Implemented Interfaces:
Monitorable, MonitorableComposite, RemoteHost

public class DefaultRemoteHost
extends java.lang.Object
implements RemoteHost

Author:
jmccrindle

Constructor Summary
DefaultRemoteHost()
           
DefaultRemoteHost(java.lang.String name)
           
 
Method Summary
 RemoteAgentAtHost getAgent(java.lang.String agent)
           
 RemoteAgentAtHost getAgentAtHost(java.lang.String name)
           
 java.util.Iterator getAgents()
           
 java.util.Map getAgentsMap()
           
 CompositeStatistics getCompositeStatistics()
           
 java.lang.String getName()
           
 boolean isUp()
           
 void setAgentsMap(java.util.Map agentsMap)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultRemoteHost

public DefaultRemoteHost()

DefaultRemoteHost

public DefaultRemoteHost(java.lang.String name)
Parameters:
name -
Method Detail

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.