org.ourgrid.peer.community
Interface RemoteAccess

All Superinterfaces:
Gump, GumpClient, java.rmi.Remote
All Known Implementing Classes:
RemoteAccessImpl

public interface RemoteAccess
extends GumpClient, Gump, java.rmi.Remote

Description:Interface that marks an object as a OurGrid Peer.

Version:
1.0 Date27/09/2004

Method Summary
 void hereIsPeerList(java.util.Collection<ObjectID> peerList)
          Receives the know peer list.
 void joinCommunity()
          Joins the OurGrid Community.
 
Methods inherited from interface org.ourgrid.common.gump.GumpClient
getObjectID, hereIsGum
 
Methods inherited from interface org.ourgrid.common.gump.Gump
disposeGum, finishRequestGums, getObjectID, pauseRequestGums, requestGums, resumeRequestGums, unwantedGum
 

Method Detail

hereIsPeerList

void hereIsPeerList(java.util.Collection<ObjectID> peerList)
                    throws java.rmi.RemoteException
Receives the know peer list.

Parameters:
peerList - A list of peer ids
Throws:
java.rmi.RemoteException

joinCommunity

void joinCommunity()
                   throws java.rmi.RemoteException
Joins the OurGrid Community.

Throws:
java.rmi.RemoteException - If could not contact the core peer.