org.ourgrid.webstatus
Interface WebStatus

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

public interface WebStatus
extends java.rmi.Remote

Description: This is a fake peer, created to join the OurGrid Community and obtain the known peers list from the core peer and then talk to each known peer to get it's status information.

Version:
1.0 Date 15/10/2004 (Updated 06/06/2005 by Pergentino)

Method Summary
 java.util.Date getLastTimeOfSnapshot()
          Get the last date/time of snapshot.
 java.util.Collection<PeerInfoPack> getLocalPeerInfoList()
          Gets all peer status information from all known (by the corepeer) peers.
 

Method Detail

getLocalPeerInfoList

java.util.Collection<PeerInfoPack> getLocalPeerInfoList()
                                                        throws java.net.MalformedURLException,
                                                               java.rmi.RemoteException,
                                                               java.rmi.NotBoundException
Gets all peer status information from all known (by the corepeer) peers.

Returns:
A collection of PeerInfoPack, one for each known peer. *
Throws:
java.net.MalformedURLException - If the corepeer URL is invalid. This should never occurs.
java.rmi.RemoteException - If the corepeer could not be conctacted.
java.rmi.NotBoundException - If the corepeer is not online

getLastTimeOfSnapshot

java.util.Date getLastTimeOfSnapshot()
                                     throws java.net.MalformedURLException,
                                            java.rmi.RemoteException,
                                            java.rmi.NotBoundException
Get the last date/time of snapshot.

Returns:
Last date/time of sanpshot.
Throws:
java.net.MalformedURLException
java.rmi.RemoteException
java.rmi.NotBoundException