fr.inria.peerunit
Interface Bootstrapper

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
BootstrapperImpl, CoordinatorImpl

public interface Bootstrapper
extends java.rmi.Remote

Author:
sunye

Method Summary
 void quit()
          Makes the boostrapper leave the system.
 int register(Tester t)
          Registers a tester to this Bootstrapper.
 

Method Detail

register

int register(Tester t)
             throws java.rmi.RemoteException
Registers a tester to this Bootstrapper.

Parameters:
t - The Tester to be registered.
Returns:
the generated ID for the added node, or Integer.MAX_VALUE if all nodes have already been registered
Throws:
java.rmi.RemoteException - When a communication error occurs.

quit

void quit()
          throws java.rmi.RemoteException
Makes the boostrapper leave the system.

Throws:
java.rmi.RemoteException


Copyright © 2010. All Rights Reserved.