org.objectweb.dream.router
Class RandomRouterImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.router.AbstractBasicRouterImpl
org.objectweb.dream.router.RandomRouterImpl
- All Implemented Interfaces:
- BindingController, LifeCycleController, Loggable, Push
- public class RandomRouterImpl
- extends AbstractBasicRouterImpl
This router randomly chooses one of its outputs. Note that
defaultOutPushItf
is only chosen if no route is bound to the
router.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomRouterImpl
public RandomRouterImpl()
getOutput
protected Push getOutput(Message message,
Map context)
- Specified by:
getOutput
in class AbstractBasicRouterImpl
- See Also:
AbstractBasicRouterImpl.getOutput(org.objectweb.dream.message.Message,
java.util.Map)
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.