org.ourgrid.corepeer.fd
Class PeerStateNotifiable

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

public class PeerStateNotifiable
extends java.lang.Object
implements Notifiable


Constructor Summary
PeerStateNotifiable(CorePeer corePeer)
          Default constructor
 
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(CorePeer corePeer)
Default constructor

Parameters:
corePeer -
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
See Also:
Notifiable.notifyMonitorableStateChange(java.lang.String, GenericState)

getName

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