org.objectweb.dream.synchro
Class LockPullUnlockImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.synchro.LockPullUnlockImpl
- All Implemented Interfaces:
- ContextualBindingController, NeedAsyncStartController, PrepareStopLifeCycleController, Loggable, Pull, BindingController, LifeCycleController
public class LockPullUnlockImpl
- extends AbstractComponent
- implements Pull
This component has a Pull output. When its pull method is called, it locks a
mutex (to which it is bound), calls pulls a message on its input, and then
unlocks the mutex.
Methods inherited from class org.objectweb.dream.AbstractComponent |
beforeFirstStart, bindFc, getFcNeedAsyncStart, getFcState, initComponent, lookupFc, prepareStopFc, setLogger, startFc, stopFc, unbindFc |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inPullItf
protected Pull inPullItf
mutexItf
protected Mutex mutexItf
LockPullUnlockImpl
public LockPullUnlockImpl()
pull
public Message pull()
throws PullException
- Specified by:
pull
in interface Pull
- Throws:
PullException
- See Also:
Pull.pull()
bindFc
public void bindFc(String clientItfName,
Object serverItf)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Specified by:
bindFc
in interface BindingController
- Overrides:
bindFc
in class AbstractComponent
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
- See Also:
BindingController.bindFc(String,
Object)
listFc
public String[] listFc()
- Specified by:
listFc
in interface BindingController
- See Also:
BindingController.listFc()
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.