org.objectweb.proactive.core.body.ft.internalmsg
Class OutputCommit
java.lang.Object
org.objectweb.proactive.core.body.ft.internalmsg.OutputCommit
- All Implemented Interfaces:
- FTMessage, java.io.Serializable
- public class OutputCommit
- extends java.lang.Object
- implements FTMessage
This class defines a message send to all processes (by the server) when one
of the process of the group is sending a message to the outside world (i.e. an
external element or a process belonging to another group)
- Since:
- 3.0
- Author:
- cdelbe
- See Also:
- Serialized Form
Constructor Summary |
OutputCommit(long firstIndex,
long lastIndex)
Create an output commit message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputCommit
public OutputCommit(long firstIndex,
long lastIndex)
- Create an output commit message.
- Parameters:
firstIndex
- first index of history that must be commitedlastIndex
- last index of history that must be commited
handleFTMessage
public java.lang.Object handleFTMessage(FTManager ftm)
- Description copied from interface:
FTMessage
- DoubleDispatch pattern. Use to select the handler in the FTManager
- Specified by:
handleFTMessage
in interface FTMessage
- Parameters:
ftm
- the FTManager that have to handle this message
- Returns:
- depend on the message type
getLastIndexToRetreive
public long getLastIndexToRetreive()
getFirstIndexToRetreive
public long getFirstIndexToRetreive()
Copyright 2001-2005 INRIA All Rights Reserved.