org.ourgrid.mygrid.fd
Class PeerStateNotifiable

java.lang.Object
  extended by org.ourgrid.mygrid.fd.PeerStateNotifiable
All Implemented Interfaces:
Notifiable

public class PeerStateNotifiable
extends java.lang.Object
implements Notifiable


Constructor Summary
PeerStateNotifiable(GumpManager gumpManager)
           
 
Method Summary
 java.lang.String getName()
           
 void notifyMonitorableStateChange(java.lang.String monitorableName, GenericState monitorableState)
          This method is invoked when the Grid Machine state changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeerStateNotifiable

public PeerStateNotifiable(GumpManager gumpManager)
Method Detail

notifyMonitorableStateChange

public void notifyMonitorableStateChange(java.lang.String monitorableName,
                                         GenericState monitorableState)
Description copied from interface: Notifiable
This method is invoked when the Grid Machine state changes.

Specified by:
notifyMonitorableStateChange in interface Notifiable
Parameters:
monitorableName - The name of the Grid Machine
monitorableState - The new state

getName

public java.lang.String getName()
Specified by:
getName in interface Notifiable
Returns:
The name of the Notifiable entity.