org.objectweb.proactive.core.component.request
Interface ComponentRequest

All Superinterfaces:
Message, Request, Securizable
All Known Implementing Classes:
ComponentRequestImpl

public interface ComponentRequest
extends Request

Marker interface.

Author:
Matthieu Morel

Field Summary
static short BEFORE_FUNCTIONAL_PRIORITY
           
static short IMMEDIATE_PRIORITY
           
static short STRICT_FIFO_PRIORITY
           
 
Method Summary
 short getPriority()
           
 Shortcut getShortcut()
           
 int getShortcutLength()
           
 java.lang.Class getTargetClass()
           
 boolean isControllerRequest()
          tells whether the request is a call to a control interface
 boolean isStartFcRequest()
           
 boolean isStopFcRequest()
           
 void shortcutNotification(UniversalBody sender, UniversalBody intermediate)
          Indicates a possible shortcut, because a functional request has been transferred between the sender and the intermediate component.
 
Methods inherited from interface org.objectweb.proactive.core.body.request.Request
getMethodCall, getParameter, getSender, hasBeenForwarded, notifyReception, resetSendCounter, send, serve, serveAlternate
 
Methods inherited from interface org.objectweb.proactive.core.body.message.Message
getFTManager, getMessageInfo, getMethodName, getSequenceNumber, getSourceBodyID, getTimeStamp, ignoreIt, isOneWay, setFTManager, setIgnoreIt, setMessageInfo
 
Methods inherited from interface org.objectweb.proactive.ext.security.Securizable
crypt, decrypt, getSessionId, isCiphered
 

Field Detail

STRICT_FIFO_PRIORITY

public static final short STRICT_FIFO_PRIORITY
See Also:
Constant Field Values

BEFORE_FUNCTIONAL_PRIORITY

public static final short BEFORE_FUNCTIONAL_PRIORITY
See Also:
Constant Field Values

IMMEDIATE_PRIORITY

public static final short IMMEDIATE_PRIORITY
See Also:
Constant Field Values
Method Detail

isControllerRequest

public boolean isControllerRequest()
tells whether the request is a call to a control interface


isStopFcRequest

public boolean isStopFcRequest()

isStartFcRequest

public boolean isStartFcRequest()

shortcutNotification

public void shortcutNotification(UniversalBody sender,
                                 UniversalBody intermediate)
Indicates a possible shortcut, because a functional request has been transferred between the sender and the intermediate component.

Parameters:
sender - the sender of the functional component request
intermediate - the component that the functional request has reached so far

getShortcut

public Shortcut getShortcut()
Returns:
the shortcut object contained in this request, null if there is no shortcut

getShortcutLength

public int getShortcutLength()
Returns:
the number of membranes that could be shortcut, 0 if there is no shortcut

getPriority

public short getPriority()

getTargetClass

public java.lang.Class getTargetClass()
Returns:
the class on which the method call contained in this request must be executed


Copyright 2001-2005 INRIA All Rights Reserved.