org.objectweb.dream.queue
Class BasicPushPushPassiveQueueImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.queue.AbstractPushQueueImpl
org.objectweb.dream.queue.BasicPushPushPassiveQueueImpl
- All Implemented Interfaces:
- AttributeController, BindingController, LifeCycleController, Loggable, Push, PushPushPassiveQueueAttributeController, PushQueueAttributeController, QueueAttributeController
- public class BasicPushPushPassiveQueueImpl
- extends AbstractPushQueueImpl
- implements PushPushPassiveQueueAttributeController
Push/Push queue implemented using a passive component. It use the
PushPushPassiveQueueAttributeController
attribute controller to open or close its output.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outPushItf
protected Push outPushItf
open
protected boolean open
BasicPushPushPassiveQueueImpl
public BasicPushPushPassiveQueueImpl()
push
public void push(Message message,
Map context)
throws PushException
- Specified by:
push
in interface Push
- Overrides:
push
in class AbstractPushQueueImpl
- Throws:
PushException
- See Also:
Push.push(Message, Map)
getOutputStatus
public boolean getOutputStatus()
- Description copied from interface:
PushPushPassiveQueueAttributeController
- Returns the output status.
true
means the output is open,
false
means the output is close, no message will be
delivered on.
- Specified by:
getOutputStatus
in interface PushPushPassiveQueueAttributeController
- Returns:
- the output status.
- See Also:
PushPushPassiveQueueAttributeController.getOutputStatus()
setOutputStatus
public void setOutputStatus(boolean outputStatus)
- Description copied from interface:
PushPushPassiveQueueAttributeController
- Sets the output status.
- Specified by:
setOutputStatus
in interface PushPushPassiveQueueAttributeController
- Parameters:
outputStatus
- if true
the output is opened, otherwise
the output is closed.- See Also:
PushPushPassiveQueueAttributeController.setOutputStatus(boolean)
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
- Overrides:
bindFc
in class AbstractPushQueueImpl
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
- See Also:
BindingController.bindFc(String,
Object)
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.