org.rribbit.processing
Interface RequestProcessor
- All Known Implementing Classes:
- JmsRequestProcessor, LocalRequestProcessor
public interface RequestProcessor
The RequestProcessor is responsible for receiving Request objects from a RequestDispatcher and processing them. Implementations may expose themselves in
a number of ways, such as plain java method calls, RMI connections or JMS connections. Implementations are responsible for decoding the Request object and encoding the
Response object.
A single RequestProcessor is always supposed to communicate with only a single RequestDispatcher, for simplicity and ease of possible network configurations.
- Author:
- G.J. Schouten
processRequest
<T> Response<T> processRequest(Request request)
- Processes a
Request and returns the Response.
- Parameters:
request - The Request to process
- Returns:
- The
Response
Copyright © 2013 RRiBbit.org. All Rights Reserved.