org.objectweb.proactive.core.body.future
Interface Future

All Superinterfaces:
LocalFuture
All Known Implementing Classes:
FutureProxy

public interface Future
extends LocalFuture

An object implementing this interface if a place holder object for an upcomming result yet to come.

see active object creation doumentation

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

Method Summary
 UniqueID getCreatorID()
          To get the creatorID.
 long getID()
          To get the sequence id of this future.
 java.lang.Throwable getRaisedException()
           
 java.lang.Object getResult()
           
 boolean isAwaited()
           
 void setCreatorID(UniqueID i)
          To set the creatorID, ie the UniqueID of the body which create this future
 void setID(long id)
          To set the sequence id of this future.
 void setSenderID(UniqueID i)
          To set the senderID, ie the UniqueID of the body that will send this future, in case of automatic continuation.
 void waitFor()
           
 
Methods inherited from interface org.objectweb.proactive.core.body.future.LocalFuture
receiveReply
 

Method Detail

isAwaited

public boolean isAwaited()

waitFor

public void waitFor()

getRaisedException

public java.lang.Throwable getRaisedException()

getResult

public java.lang.Object getResult()

setID

public void setID(long id)
To set the sequence id of this future.


getID

public long getID()
To get the sequence id of this future.


setCreatorID

public void setCreatorID(UniqueID i)
To set the creatorID, ie the UniqueID of the body which create this future


getCreatorID

public UniqueID getCreatorID()
To get the creatorID.


setSenderID

public void setSenderID(UniqueID i)
To set the senderID, ie the UniqueID of the body that will send this future, in case of automatic continuation.



Copyright © April 2004 INRIA All Rights Reserved.