org.objectweb.dream.pump
Class SynchronizedPumpImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.pump.SynchronizedPumpImpl
- All Implemented Interfaces:
- AttributeController, BindingController, LifeCycleController, Loggable, PumpAttributeController
- Direct Known Subclasses:
- SynchronizedPeriodicPumpImpl
- public class SynchronizedPumpImpl
- extends AbstractComponent
- implements PumpAttributeController
Synchronized implementation of a Pull/Push pump. This component has an
optional Mutex
client interface that it uses to synchronize the
execution of its run method with other components.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outPushItf
protected Push outPushItf
- The server interface to which this component is bound.
inPullItf
protected Pull inPullItf
- The server interface to which this component is bound.
mutexItf
protected Mutex mutexItf
- The server interface to which this component is bound.
pumpTask
protected Task pumpTask
pushNullPolicy
protected boolean pushNullPolicy
SynchronizedPumpImpl
public SynchronizedPumpImpl()
initComponent
protected void initComponent(Component componentItf)
throws InitializationException
- Throws:
InitializationException
listFc
public String[] listFc()
- Specified by:
listFc
in interface BindingController
- See Also:
BindingController.listFc()
bindFc
public void bindFc(String clientItfName,
Object serverItf)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Specified by:
bindFc
in interface BindingController
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
- See Also:
BindingController.bindFc(String,
Object)
getPushNullPolicy
public boolean getPushNullPolicy()
- Description copied from interface:
PumpAttributeController
- Returns the PushNullPolicy.
- Specified by:
getPushNullPolicy
in interface PumpAttributeController
- Returns:
- the PushNullPolicy.
- See Also:
PumpAttributeController.getPushNullPolicy()
setPushNullPolicy
public void setPushNullPolicy(boolean pushNull)
- Description copied from interface:
PumpAttributeController
- Sets the PushNullPolicy.
- Specified by:
setPushNullPolicy
in interface PumpAttributeController
- Parameters:
pushNull
- the PushNullPolicy.- See Also:
PumpAttributeController.setPushNullPolicy(boolean)
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.