1 7 package org.objectweb.proactive.p2p.registry; 8 9 import java.rmi.Remote ; 10 import java.rmi.RemoteException ; 11 12 18 public interface P2PRegistry extends Remote { 19 public void register(String key, Object o) throws RemoteException ; 20 public void unregister(String key, Object o) throws RemoteException ; 21 22 public void registerOverloaded(String key, Object o) throws RemoteException ; 23 public void unregisterOverloaded(String key, Object o) throws RemoteException ; 24 25 public void registerUnderloaded(String key, Object o) throws RemoteException ; 26 public void unregisterUnderloaded(String key, Object o) throws RemoteException ; 27 28 public Object getUnderloaded(String key) throws RemoteException ; 29 30 public int getNumberOfAvailables() throws RemoteException ; 31 public Object [] getAvailables(int n) throws RemoteException ; 32 33 public Object [] getFullyAvailables(int n) throws RemoteException ; 34 } 35 | Popular Tags |