org.objectweb.dream.protocol.causality
Class OutMessageStamperImpl

java.lang.Object
  extended byorg.objectweb.dream.AbstractComponent
      extended byorg.objectweb.dream.protocol.causality.OutMessageStamperImpl
All Implemented Interfaces:
AttributeController, BindingController, CausalityTransformerAttributeController, LifeCycleController, Loggable, Push

public class OutMessageStamperImpl
extends AbstractComponent
implements Push, CausalityTransformerAttributeController

Outgoing Message stamper.


Field Summary
 
Fields inherited from class org.objectweb.dream.AbstractComponent
bindingLogger, componentDesc, fcState, lifeCycleLogger, logger, weaveableC
 
Fields inherited from interface org.objectweb.dream.Push
IN_PUSH_ITF_NAME, OUT_PUSH_ITF_NAME
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Constructor Summary
OutMessageStamperImpl()
           
 
Method Summary
 void bindFc(String clientItfName, Object serverItf)
           
 String getArrowChunkName()
          Returns the name of the ArrowChunkused to know the source or the destination process of messages.
 String getCausalityChunkName()
          Returns the name of the CausalityChunkwhere the matrix clock, or the updates are stored.
 String[] listFc()
           
 void push(Message message, Map context)
           
 void setArrowChunkName(String arrowChunkName)
          Sets the name of the ArrowChunk used to know the source or the destination process of messages.
 void setCausalityChunkName(String causalityChunkName)
          Sets the name of the CausalityChunkwhere the matrix clock, or the updates are stored.
 
Methods inherited from class org.objectweb.dream.AbstractComponent
getFcState, initComponent, lookupFc, setLogger, startFc, stopFc, unbindFc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutMessageStamperImpl

public OutMessageStamperImpl()
Method Detail

push

public void push(Message message,
                 Map context)
          throws PushException
Specified by:
push in interface Push
Throws:
PushException
See Also:
Push.push(Message, Map)

getArrowChunkName

public String getArrowChunkName()
Description copied from interface: CausalityTransformerAttributeController
Returns the name of the ArrowChunkused to know the source or the destination process of messages.

Specified by:
getArrowChunkName in interface CausalityTransformerAttributeController
Returns:
the name of the ArrowChunkused to know the source or the destination process of messages.
See Also:
CausalityTransformerAttributeController.getArrowChunkName()

setArrowChunkName

public void setArrowChunkName(String arrowChunkName)
Description copied from interface: CausalityTransformerAttributeController
Sets the name of the ArrowChunk used to know the source or the destination process of messages.

Specified by:
setArrowChunkName in interface CausalityTransformerAttributeController
Parameters:
arrowChunkName - the name of the ArrowChunkused to know the source or the destination process of messages.
See Also:
CausalityTransformerAttributeController.setArrowChunkName(String)

getCausalityChunkName

public String getCausalityChunkName()
Description copied from interface: CausalityTransformerAttributeController
Returns the name of the CausalityChunkwhere the matrix clock, or the updates are stored.

Specified by:
getCausalityChunkName in interface CausalityTransformerAttributeController
Returns:
the name of the CausalityChunkwhere the matrix clock, or the updates are stored.
See Also:
CausalityTransformerAttributeController.getCausalityChunkName()

setCausalityChunkName

public void setCausalityChunkName(String causalityChunkName)
Description copied from interface: CausalityTransformerAttributeController
Sets the name of the CausalityChunkwhere the matrix clock, or the updates are stored.

Specified by:
setCausalityChunkName in interface CausalityTransformerAttributeController
Parameters:
causalityChunkName - the name of the CausalityChunkwhere the matrix clock, or the updates are stored.
See Also:
CausalityTransformerAttributeController.setCausalityChunkName(String)

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)


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.