- All Superinterfaces:
- All Known Implementing Classes:
public interface RmiRequestProcessor extends Remote
Interface required to create the
RmiRequestProcessorImpl. Necessary, because Java RMI requires Remote interfaces that extend
Remote. Note that an
RmiRequestProcessor is not actually an
RequestProcessor, because Java RMI does not allow non-remote methods in a remote interface. This is not a
problem though, since an
RmiRequestProcessor receives its requests via RMI and not via a Java interface.
- G.J. Schouten
Requestand returns the
Response. This method should just call
RequestProcessor.processRequest(Request), but is necessary, because Java RMI requires you to declare a
RemoteExceptionon remote methods.