org.objectweb.proactive
Class Service.ServingRequestProcessor

java.lang.Object
  extended by org.objectweb.proactive.Service.ServingRequestProcessor
All Implemented Interfaces:
RequestProcessor
Enclosing class:
Service

protected class Service.ServingRequestProcessor
extends java.lang.Object
implements RequestProcessor

ServingRequestProcessor is a simple RequestProcessor that serves and removes all requests accepted by a given RequestFilter

Since:
ProActive 0.9
Version:
1.0, 2001/10/23
Author:
ProActive Team
See Also:
RequestProcessor

Field Summary
 
Fields inherited from interface org.objectweb.proactive.core.body.request.RequestProcessor
KEEP, REMOVE, REMOVE_AND_SERVE
 
Constructor Summary
Service.ServingRequestProcessor(RequestFilter selectorRequestFilter)
           
 
Method Summary
 int processRequest(Request request)
          Processes the request and returns true if the request can be discarded after processing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Service.ServingRequestProcessor

public Service.ServingRequestProcessor(RequestFilter selectorRequestFilter)
Method Detail

processRequest

public int processRequest(Request request)
Processes the request and returns true if the request can be discarded after processing.

Specified by:
processRequest in interface RequestProcessor
Parameters:
request - the request to process
Returns:
true if the request can be discarded (removed from the container it is stored), false if it has to be kept.


Copyright 2001-2007 INRIA All Rights Reserved.