org.objectweb.dream.protocol.utobcast
Class PendingMessagesDataStructureImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.protocol.utobcast.PendingMessagesDataStructureImpl
- All Implemented Interfaces:
- BindingController, LifeCycleController, Loggable, Pull, Push, ReceiveAck
- public class PendingMessagesDataStructureImpl
- extends AbstractComponent
- implements Push, ReceiveAck, Pull
Implementation of the PendingMessagesDataStructure component. This component
stores pending messages. It is accessed by the REP and ACK components.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PENDING_MESSAGES_OUT_ITF_NAME
public static final String PENDING_MESSAGES_OUT_ITF_NAME
- The commonly used name to refer to the
pendingMessageOutItf
interface.
- See Also:
- Constant Field Values
processMembershipItf
protected ProcessMembership processMembershipItf
- The interface to retrieve process membership information.
messageManagerItf
protected MessageManager messageManagerItf
- The interface to manage message lifecycle.
PendingMessagesDataStructureImpl
public PendingMessagesDataStructureImpl()
- Constructor.
push
public void push(Message message,
Map context)
throws PushException
- Specified by:
push
in interface Push
- Throws:
PushException
- See Also:
Push.push(org.objectweb.dream.message.Message,
java.util.Map)
pull
public Message pull(Map context)
throws PullException
- Specified by:
pull
in interface Pull
- Throws:
PullException
- See Also:
Pull.pull(java.util.Map)
receiveAck
public void receiveAck(Message message)
- Description copied from interface:
ReceiveAck
- Handles the received ACK message.
- Specified by:
receiveAck
in interface ReceiveAck
- Parameters:
message
- the ACK message.- See Also:
ReceiveAck.receiveAck(Message)
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(java.lang.String,
java.lang.Object)
listFc
public String[] listFc()
- Specified by:
listFc
in interface BindingController
- See Also:
BindingController.listFc()
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.