Back to the RMI Plug-in for Eclipse

demo.rmi.filesystem.common
Interface IRemoteFilenameFilter

All Superinterfaces:
Remote
All Known Implementing Classes:
FileSystemClient.SemiPalindromeFilter

public interface IRemoteFilenameFilter
extends Remote

This interface is used by IRemoteFile.listRemoteFiles() method Clients implementing this interface can either export the implementation using UnicastRemoteObject.exportObject(Remote) and then the server will make callbacks to the client to perform the filtering. This method will be slow! (Every time the server needs to check the file it will make a remote call). If the implementation's instance is not exported, it will cause the class code to be run on the server which requires some extra caution with client's codebase and raises security considerations (server running client's code).


Method Summary
 boolean accept(IRemoteFile dir, String name)
           
 

Method Detail

accept

boolean accept(IRemoteFile dir,
               String name)
               throws RemoteException
Throws:
RemoteException

Back to the RMI Plug-in for Eclipse


© 2002-12 Genady Beryozkin, rmi-info@genady.net. Read our Privacy policy. Hosted on RimuHosting. Visit Javalobby.