org.objectweb.proactive.core.component.request
Class SynchronousComponentRequestReceiver
java.lang.Object
org.objectweb.proactive.core.body.request.RequestReceiverImpl
org.objectweb.proactive.core.component.request.SynchronousComponentRequestReceiver
- All Implemented Interfaces:
- RequestReceiver, java.io.Serializable
- public class SynchronousComponentRequestReceiver
- extends RequestReceiverImpl
This is an extension of the RequestReceiverImpl class, which allows the
shortcutting of functional requests : when crossing a composite component
that has such a request receiver, a shortcut notification is sent to the
emitter, and the request is directly transferred to the following linked
interface. This means that we stay in the rendez-vous until the request
reaches its final destination (a primitive component where the request can be
executed, or a component that does not have such a synchronous request
receiver).
- Author:
- Matthieu Morel
- See Also:
- Serialized Form
Field Summary |
protected static org.apache.log4j.Logger |
logger
|
static int |
SHORTCUT
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.log4j.Logger logger
SHORTCUT
public static final int SHORTCUT
- See Also:
- Constant Field Values
SynchronousComponentRequestReceiver
public SynchronousComponentRequestReceiver()
receiveRequest
public int receiveRequest(Request r,
Body bodyReceiver)
throws java.io.IOException
- Specified by:
receiveRequest
in interface RequestReceiver
- Overrides:
receiveRequest
in class RequestReceiverImpl
- Throws:
java.io.IOException
Copyright 2001-2005 INRIA All Rights Reserved.