org.objectweb.proactive.core.body.future
Class FutureEventProducerImpl

java.lang.Object
  |
  +--org.objectweb.proactive.core.event.AbstractEventProducer
        |
        +--org.objectweb.proactive.core.body.future.FutureEventProducerImpl
All Implemented Interfaces:
FutureEventProducer, java.io.Serializable

public class FutureEventProducerImpl
extends AbstractEventProducer
implements FutureEventProducer, java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.objectweb.proactive.core.event.AbstractEventProducer
AbstractEventProducer.ListenerList
 
Field Summary
 
Fields inherited from class org.objectweb.proactive.core.event.AbstractEventProducer
eventListeners, logger, shouldSerializeListeners
 
Constructor Summary
FutureEventProducerImpl()
           
 
Method Summary
 void addFutureEventListener(FutureEventListener listener)
          Adds a listener of FutureEvent to this body.
 void notifyListeners(UniqueID bodyID, UniqueID creatorID, int type)
           
 void notifyOneListener(ProActiveListener listener, ProActiveEvent futureEvent)
          Notifies one listener with the event.
 void removeFutureEventListener(FutureEventListener listener)
          Removes the FutureEventListener from this body.
 
Methods inherited from class org.objectweb.proactive.core.event.AbstractEventProducer
addListener, hasListeners, notifyAllListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FutureEventProducerImpl

public FutureEventProducerImpl()
Method Detail

notifyListeners

public void notifyListeners(UniqueID bodyID,
                            UniqueID creatorID,
                            int type)

notifyOneListener

public void notifyOneListener(ProActiveListener listener,
                              ProActiveEvent futureEvent)
Description copied from class: AbstractEventProducer
Notifies one listener with the event.

Specified by:
notifyOneListener in class AbstractEventProducer

addFutureEventListener

public void addFutureEventListener(FutureEventListener listener)
Description copied from interface: FutureEventProducer
Adds a listener of FutureEvent to this body. The listener will receive all events related to calls on futur objects

Specified by:
addFutureEventListener in interface FutureEventProducer
Parameters:
listener - the listener to add

removeFutureEventListener

public void removeFutureEventListener(FutureEventListener listener)
Description copied from interface: FutureEventProducer
Removes the FutureEventListener from this body.

Specified by:
removeFutureEventListener in interface FutureEventProducer
Parameters:
listener - the listener to remove


Copyright © April 2004 INRIA All Rights Reserved.