org.objectweb.dream.queue.keyed
Class KeyedIncomingHandlerNonBlockingImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.queue.keyed.KeyedIncomingHandlerNonBlockingImpl
- All Implemented Interfaces:
- ContextualBindingController, NeedAsyncStartController, PrepareStopLifeCycleController, Loggable, KeyedPush, BindingController, LifeCycleController
public class KeyedIncomingHandlerNonBlockingImpl
- extends AbstractComponent
- implements KeyedPush
A push incoming handler that implements the KeyedPush
interface. It
adds pushed
messages into a
buffer
bound to it. This component uses
blocking calls for adding
messages into the buffer.
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 |
CLIENT_INTERFACE_NAMES
protected static final String[] CLIENT_INTERFACE_NAMES
- The names of client interfaces.
keyedBufferAddItf
protected KeyedBufferAdd keyedBufferAddItf
- The buffer into which pushed messages are added.
KeyedIncomingHandlerNonBlockingImpl
public KeyedIncomingHandlerNonBlockingImpl()
push
public void push(Message message,
Object key)
throws PushException
- Description copied from interface:
KeyedPush
- Gives a message to a component.
- Specified by:
push
in interface KeyedPush
- Parameters:
message
- the message to give to the component.key
- the key that is associated with the pushed message.
- Throws:
PushException
- if an exception occurs.- See Also:
KeyedPush.push(Message, Object)
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 AbstractComponent
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
- See Also:
BindingController.bindFc(String,
Object)
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.