org.objectweb.dream.aggregator
Class BasicPullPullAggregatorImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.aggregator.BasicPullPullAggregatorImpl
- All Implemented Interfaces:
- BindingController, LifeCycleController, Loggable, Pull
- public class BasicPullPullAggregatorImpl
- extends AbstractComponent
- implements Pull
This aggregator has a collection of pull inputs, and a pull output. When a
message is pulled on the ouput, the aggregator pulls messages on its input,
aggregates them, and returns the aggregated message. Messages received on
inputs, are pulled sequencialy in a non predictible order. Input pull
interfaces can return null
. Context passed on the output pull
interface is transmited to input pull interfaces.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messageManagerItf
protected MessageManager messageManagerItf
- the message manager client interface of this component
BasicPullPullAggregatorImpl
public BasicPullPullAggregatorImpl()
pull
public Message pull(Map context)
throws PullException
- Specified by:
pull
in interface Pull
- Throws:
PullException
- See Also:
Pull.pull(Map)
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)
unbindFc
public void unbindFc(String clientItfName)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Specified by:
unbindFc
in interface BindingController
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
- See Also:
BindingController.unbindFc(String)
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.