org.objectweb.proactive.core.body.request
Interface RequestFilter

All Known Implementing Classes:
Service.AcceptAllRequestFilter, Service.RequestFilterOnMethodName

public interface RequestFilter

A class implementing this interface can filter requests on some criteria. It implements one method acceptRequest that takes a request and returns a boolean saying whether the request.

It is used as a call back interface allowing a custom selection on request stored in the request queue

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

Method Summary
 boolean acceptRequest(Request request)
          Returns true if and only if the given request can be accepted.
 

Method Detail

acceptRequest

public boolean acceptRequest(Request request)
Returns true if and only if the given request can be accepted.

Parameters:
request - the request to test
Returns:
true if the request can be accepted, false else.


Copyright © April 2004 INRIA All Rights Reserved.