org.objectweb.dream.channel
Class OpenedSocketManagerMonoNotPersistentImpl

java.lang.Object
  extended byorg.objectweb.dream.AbstractComponent
      extended byorg.objectweb.dream.channel.OpenedSocketManagerMonoNotPersistentImpl
All Implemented Interfaces:
BindingController, LifeCycleController, Loggable, OpenedSocket

public class OpenedSocketManagerMonoNotPersistentImpl
extends AbstractComponent
implements OpenedSocket

A opened socket manager for mono connection Channel. This component simply forward opened sockets then close them.


Field Summary
protected  OpenedSocket delegateOpenedSocketItf
           
 
Fields inherited from class org.objectweb.dream.AbstractComponent
bindingLogger, componentDesc, fcState, firstStart, lifeCycleLogger, logger, weaveableC
 
Fields inherited from interface org.objectweb.dream.channel.OpenedSocket
ITF_NAME
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Constructor Summary
OpenedSocketManagerMonoNotPersistentImpl()
           
 
Method Summary
 void bindFc(String clientItfName, Object serverItf)
           
 String[] listFc()
           
 void openedSocket(SocketState socket)
          Gives an opened socket.
 
Methods inherited from class org.objectweb.dream.AbstractComponent
beforeFirstStart, 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
 

Field Detail

delegateOpenedSocketItf

protected OpenedSocket delegateOpenedSocketItf
Constructor Detail

OpenedSocketManagerMonoNotPersistentImpl

public OpenedSocketManagerMonoNotPersistentImpl()
Method Detail

openedSocket

public void openedSocket(SocketState socket)
                  throws IOException,
                         InterruptedException
Description copied from interface: OpenedSocket
Gives an opened socket.

Specified by:
openedSocket in interface OpenedSocket
Parameters:
socket - a socket state
Throws:
IOException - if an IO error occurs.
InterruptedException - if the execution of the method has been interrupted.
See Also:
OpenedSocket.openedSocket(SocketState)

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.