KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnet > Search > RMI > RMISearchInterface


1 /*
2  * RMISearchInterface.java
3  *
4  * Created on 29. duben 2004, 13:23
5  */

6
7 package SOFA.SOFAnet.Search.RMI;
8
9 import java.rmi.Remote JavaDoc;
10 import java.rmi.RemoteException JavaDoc;
11 import SOFA.SOFAnet.Search.*;
12 import SOFA.SOFAnet.Repository.ShareGroups;
13
14 /**
15  * Remote interface of RMI implementation of search subsystem.
16  * @author Ladislav Sobr
17  */

18 public interface RMISearchInterface extends Remote JavaDoc
19 {
20   void connect(String JavaDoc nodeName, ShareGroups shareGroups) throws RMISearchException, RemoteException JavaDoc;
21   void request(String JavaDoc nodeName, SearchRequestID requestID, SearchPattern searchPattern, boolean firstOnly, String JavaDoc shareGroup) throws RMISearchException, RemoteException JavaDoc;
22   void reply(String JavaDoc nodeName, SearchReply searchReply) throws RMISearchException, RemoteException JavaDoc;
23 }
24
Popular Tags