KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > proactive > p2p > registry > P2PRegistry


1 /*
2  * Created on Jan 29, 2004
3  *
4  * To change the template for this generated file go to
5  * Window>Preferences>Java>Code Generation>Code and Comments
6  */

7 package org.objectweb.proactive.p2p.registry;
8
9 import java.rmi.Remote JavaDoc;
10 import java.rmi.RemoteException JavaDoc;
11
12 /**
13  * @author jbustos
14  *
15  * To change the template for this generated type comment go to
16  * Window>Preferences>Java>Code Generation>Code and Comments
17  */

18 public interface P2PRegistry extends Remote JavaDoc {
19 public void register(String JavaDoc key, Object JavaDoc o) throws RemoteException JavaDoc;
20 public void unregister(String JavaDoc key, Object JavaDoc o) throws RemoteException JavaDoc;
21
22 public void registerOverloaded(String JavaDoc key, Object JavaDoc o) throws RemoteException JavaDoc;
23 public void unregisterOverloaded(String JavaDoc key, Object JavaDoc o) throws RemoteException JavaDoc;
24
25 public void registerUnderloaded(String JavaDoc key, Object JavaDoc o) throws RemoteException JavaDoc;
26 public void unregisterUnderloaded(String JavaDoc key, Object JavaDoc o) throws RemoteException JavaDoc;
27
28 public Object JavaDoc getUnderloaded(String JavaDoc key) throws RemoteException JavaDoc;
29
30 public int getNumberOfAvailables() throws RemoteException JavaDoc;
31 public Object JavaDoc[] getAvailables(int n) throws RemoteException JavaDoc;
32
33 public Object JavaDoc[] getFullyAvailables(int n) throws RemoteException JavaDoc;
34 }
35
Popular Tags