org.ourgrid.peer.ui
Interface UIManager

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
PeerUIManager

public interface UIManager
extends java.rmi.Remote


Method Summary
 void failureDetectorAdvice(java.lang.String monitorableAddress, GenericState newState)
           
 java.util.Collection<StatusEntry> getGums(AllocationStatus status, RequestSpec.RequestSource source)
           
 ObserverDispatcher getObserverDispatcher()
           
 java.util.Map<ObjectID,java.lang.Double> getPeerBalances()
           
 boolean isPeerRunning()
           
 void noMoreListeners()
           
 void registerNewMonitorable(PeerUIManager.Notifiables notifiableType, ObjectID objectID)
           
 void registerNewMonitorable(PeerUIManager.Notifiables notifiableType, java.lang.String monitorableAddress)
           
 void setLocalGums(java.util.Collection<GumSpec> gums)
           
 void setLocalGums(java.lang.String filename)
           
 void startGUIService()
           
 void startPeerService()
          Starts Peer Service
 void stopPeerService()
          Stops Peer Service
 void unregisterNewMonitorable(PeerUIManager.Notifiables consumer, ObjectID consumerID)
           
 void unregisterNewMonitorable(PeerUIManager.Notifiables notifiableType, java.lang.String monitorableAddress)
           
 

Method Detail

startPeerService

void startPeerService()
                      throws java.rmi.RemoteException,
                             java.net.MalformedURLException,
                             java.lang.NumberFormatException,
                             ConfigException
Starts Peer Service

Throws:
java.rmi.RemoteException
java.net.MalformedURLException
java.lang.NumberFormatException
ConfigException

stopPeerService

void stopPeerService()
                     throws java.rmi.RemoteException,
                            PeerUIException
Stops Peer Service

Throws:
java.rmi.RemoteException
PeerUIException

startGUIService

void startGUIService()
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

noMoreListeners

void noMoreListeners()
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setLocalGums

void setLocalGums(java.util.Collection<GumSpec> gums)
                  throws java.rmi.RemoteException,
                         PeerUIException
Throws:
java.rmi.RemoteException
PeerUIException

setLocalGums

void setLocalGums(java.lang.String filename)
                  throws PeerUIException,
                         CompilerException,
                         java.rmi.RemoteException
Throws:
PeerUIException
CompilerException
java.rmi.RemoteException

isPeerRunning

boolean isPeerRunning()
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getObserverDispatcher

ObserverDispatcher getObserverDispatcher()
                                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getGums

java.util.Collection<StatusEntry> getGums(AllocationStatus status,
                                          RequestSpec.RequestSource source)
                                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPeerBalances

java.util.Map<ObjectID,java.lang.Double> getPeerBalances()
                                                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

registerNewMonitorable

void registerNewMonitorable(PeerUIManager.Notifiables notifiableType,
                            java.lang.String monitorableAddress)
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

registerNewMonitorable

void registerNewMonitorable(PeerUIManager.Notifiables notifiableType,
                            ObjectID objectID)
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

unregisterNewMonitorable

void unregisterNewMonitorable(PeerUIManager.Notifiables notifiableType,
                              java.lang.String monitorableAddress)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

failureDetectorAdvice

void failureDetectorAdvice(java.lang.String monitorableAddress,
                           GenericState newState)
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

unregisterNewMonitorable

void unregisterNewMonitorable(PeerUIManager.Notifiables consumer,
                              ObjectID consumerID)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException