org.ourgrid.webstatus
Class RemoteUIServices

java.lang.Object
  extended by org.ourgrid.webstatus.RemoteUIServices

public class RemoteUIServices
extends java.lang.Object

Description: This is the class responsible to access the peer's remote services used to get the status information.


Constructor Summary
RemoteUIServices(java.lang.String objectURL)
          Creates a UIService to access a peer status information remotely.
 
Method Summary
 java.lang.String getDescription()
           
 java.util.Collection<StatusEntry> getDonatedGums()
           
 java.lang.String getEmail()
           
 java.lang.String getLatitude()
           
 java.util.Collection<ConsumerStatus> getLocalConsumers()
           
 java.util.Collection<StatusEntry> getLocalGums()
           
 java.lang.String getLongitude()
           
 java.util.Map<ObjectID,java.lang.Double> getNetworkOfFavors()
           
 java.util.Collection<StatusEntry> getOwnerGums()
           
 java.util.Collection<ConsumerStatus> getRemoteConsumers()
           
 java.util.Collection<StatusEntry> getRemoteGums()
           
 java.lang.String getUptime()
           
 java.lang.String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteUIServices

public RemoteUIServices(java.lang.String objectURL)
                 throws java.net.MalformedURLException,
                        java.rmi.RemoteException,
                        java.rmi.NotBoundException
Creates a UIService to access a peer status information remotely.

Parameters:
objectURL - The peer URL
Throws:
java.net.MalformedURLException - If the peer URL is invalid.
java.rmi.RemoteException - If the peer could not be contacted.
java.rmi.NotBoundException - If the peer is off-line.
Method Detail

getVersion

public java.lang.String getVersion()

getDescription

public java.lang.String getDescription()

getEmail

public java.lang.String getEmail()

getUptime

public java.lang.String getUptime()

getLatitude

public java.lang.String getLatitude()

getLongitude

public java.lang.String getLongitude()

getLocalGums

public java.util.Collection<StatusEntry> getLocalGums()

getRemoteGums

public java.util.Collection<StatusEntry> getRemoteGums()

getDonatedGums

public java.util.Collection<StatusEntry> getDonatedGums()

getOwnerGums

public java.util.Collection<StatusEntry> getOwnerGums()

getLocalConsumers

public java.util.Collection<ConsumerStatus> getLocalConsumers()

getRemoteConsumers

public java.util.Collection<ConsumerStatus> getRemoteConsumers()

getNetworkOfFavors

public java.util.Map<ObjectID,java.lang.Double> getNetworkOfFavors()