org.globus.rendezvous.service
Interface RendezvousResource

All Superinterfaces:
ResourceProperties
All Known Implementing Classes:
RendezvousResourceImpl

public interface RendezvousResource
extends ResourceProperties

A distributed registry for rendezvous of remote registrants.


Method Summary
 boolean isFull()
           
 int register(byte[] data, int inputRank)
          Register input data with rank.
 
Methods inherited from interface org.globus.wsrf.ResourceProperties
getResourcePropertySet
 

Method Detail

register

public int register(byte[] data,
                    int inputRank)
             throws RankTakenFaultType
Register input data with rank.

Precondition: !isFull()

Parameters:
data - byte[] Binary data to register.
inputRank - int Desired rank to associate with the registrant. Value of -1 implies that rank should be assigned automatically.
Returns:
int Rank of this registrant
Throws:
RankTakenFaultType

isFull

public boolean isFull()