org.objectweb.dream.pump
Interface PumpAttributeController

All Superinterfaces:
ActiveComponentAttributeController, AttributeController
All Known Subinterfaces:
PumpPeriodicAttributeController
All Known Implementing Classes:
PumpPeriodicSynchronizedImpl, PumpSynchronizedImpl

public interface PumpAttributeController
extends ActiveComponentAttributeController

Attribute controller for pump components. If the PushNullPolicy is set to true, then if the message returned by the pull invocation is null, it is pushed. otherwise null is not pushed and another message is pulled. The default value is false.


Method Summary
 boolean getPushNullPolicy()
          Returns the PushNullPolicy.
 void setPushNullPolicy(boolean pushNull)
          Sets the PushNullPolicy.
 
Methods inherited from interface org.objectweb.dream.control.activity.ActiveComponentAttributeController
getInitialCapacity, getInitialNumberOfThreads, getUsePool, setInitialCapacity, setInitialNumberOfThreads, setUsePool
 

Method Detail

getPushNullPolicy

public boolean getPushNullPolicy()
Returns the PushNullPolicy.

Returns:
the PushNullPolicy.

setPushNullPolicy

public void setPushNullPolicy(boolean pushNull)
Sets the PushNullPolicy.

Parameters:
pushNull - the PushNullPolicy.


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.