org.objectweb.proactive.ic2d.data
Class HostObject
java.lang.Object
org.objectweb.proactive.ic2d.data.AbstractDataObject
org.objectweb.proactive.ic2d.data.HostObject
- All Implemented Interfaces:
- MessageMonitoringController
public class HostObject
- extends AbstractDataObject
Holder class for the host data representation
Methods inherited from class org.objectweb.proactive.ic2d.data.AbstractDataObject |
childsIterator, clearChilds, destroyCollection, findActiveObjectById, getChild, getChildObjectsCount, getController, getParent, getTopLevelParent, isAlive, isMonitoring, isMonitoringReplyReceiver, isMonitoringReplySender, isMonitoringRequestReceiver, isMonitoringRequestSender, isViewedInEventList, monitorAll, monitorAllCollection, monitoringMessageEventChanged, monitorReplyReceiver, monitorReplyReceiverCollection, monitorReplySender, monitorReplySenderCollection, monitorRequestReceiver, monitorRequestReceiverCollection, monitorRequestSender, monitorRequestSenderCollection, putChild, removeChild, setAlive, viewInEventList, viewInEventListCollection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
hostname
protected java.lang.String hostname
- Name of this Host
os
protected java.lang.String os
- OS
nodeFinder
protected HostRTFinder nodeFinder
listener
protected HostObjectListener listener
objectSet
protected MonitoredObjectSet objectSet
monitoredHost
protected BasicMonitoredObject monitoredHost
HostObject
public HostObject(WorldObject parent,
BasicMonitoredObject monitoredHost,
MonitoredObjectSet objectSet)
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractDataObject
getMonitoredProtocol
public java.lang.String getMonitoredProtocol()
- Returns:
- Returns the protocol used to monitor this host
createAllNodes
public void createAllNodes()
getHostName
public java.lang.String getHostName()
getOperatingSystem
public java.lang.String getOperatingSystem()
registerListener
public void registerListener(HostObjectListener listener)
addVMObject
public VMObject addVMObject(Node node)
- Register the node
removeVMObject
public void removeVMObject(java.rmi.dgc.VMID id)
getVMObject
public VMObject getVMObject(java.rmi.dgc.VMID id)
destroyObject
public void destroyObject()
- Specified by:
destroyObject
in class AbstractDataObject
findVMObjectHavingExistingNode
public VMObject findVMObjectHavingExistingNode(java.lang.String nodeName)
getTypedParent
protected WorldObject getTypedParent()
destroy
protected boolean destroy()
- Description copied from class:
AbstractDataObject
- destroy this object
- Overrides:
destroy
in class AbstractDataObject
Copyright 2001-2007 INRIA All Rights Reserved.