at.ac.tuwien.infosys.rnue.interfaces
Interface ISearchEngine

All Superinterfaces:
java.rmi.Remote

public interface ISearchEngine
extends java.rmi.Remote

Specifies the remote interface allowing clients to search for data.

A class implementing this interface should provide an constructor that takes three parameters: The first parameter is a java.lang.String indicating the file base. The second parameter is a java.lang.String representing the URL prefix of the locale peer. The third parameter is an instance of the ISecurityHelper class.


Method Summary
 ISearchResponse search(ISearchRequest request)
          This method searches for files matching the ISearchRequest object in the local file database.
 

Method Detail

search

public ISearchResponse search(ISearchRequest request)
                       throws ShareMeException,
                              java.rmi.RemoteException
This method searches for files matching the ISearchRequest object in the local file database.

Parameters:
request - the search request
Throws:
java.rmi.RemoteException - If a remote exception occurs.
ShareMeException - If no request is given or it could not verify the sender's signature!