org.objectweb.dream.pushwithreturn
Class HandleReturnMessageImpl

java.lang.Object
  extended by org.objectweb.dream.AbstractComponent
      extended by org.objectweb.dream.pushwithreturn.HandleReturnMessageImpl
All Implemented Interfaces:
ContextualBindingController, NeedAsyncStartController, PrepareStopLifeCycleController, Loggable, HandleReturnMessage, BindingController, LifeCycleController

public class HandleReturnMessageImpl
extends AbstractComponent
implements HandleReturnMessage

Basic implementation of the HandleReturnMessageinterface. The component simply forwards return messages.


Field Summary
 
Fields inherited from class org.objectweb.dream.AbstractComponent
bindingLogger, fcNeedAsyncStart, fcState, lifeCycleLogger, logger, weaveableC
 
Fields inherited from interface org.objectweb.dream.pushwithreturn.HandleReturnMessage
ITF_NAME
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Constructor Summary
HandleReturnMessageImpl()
           
 
Method Summary
 void bindFc(String clientItfName, Object serverItf)
           
 void handleReturnMessage(WaitingKey waitingKey)
          Handles the return message that is present into the waiting key.
 String[] listFc()
           
 
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
 

Constructor Detail

HandleReturnMessageImpl

public HandleReturnMessageImpl()
Method Detail

handleReturnMessage

public void handleReturnMessage(WaitingKey waitingKey)
                         throws Exception
Description copied from interface: HandleReturnMessage
Handles the return message that is present into the waiting key.

Specified by:
handleReturnMessage in interface HandleReturnMessage
Parameters:
waitingKey - the waiting key that contains the return message.
Throws:
Exception - if an exception occurs.
See Also:
HandleReturnMessage.handleReturnMessage(org.objectweb.dream.pushwithreturn.WaitingKey)

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)

listFc

public String[] listFc()
Specified by:
listFc in interface BindingController
See Also:
BindingController.listFc()


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