org.objectweb.dream.channel
Class AbstractAcceptSocketImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.channel.AbstractAcceptSocketImpl
- All Implemented Interfaces:
- BindingController, LifeCycleController, Loggable
- Direct Known Subclasses:
- TCPAcceptSocketImpl
- public abstract class AbstractAcceptSocketImpl
- extends AbstractComponent
Abstract Accept socket component. This component creates new incoming socket
using the acceptSocket()
method, and pass it through its
OpenedSocket
client interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
acceptTask
protected Task acceptTask
openedSocketItf
protected OpenedSocket openedSocketItf
AbstractAcceptSocketImpl
public AbstractAcceptSocketImpl()
acceptSocket
protected abstract SocketState acceptSocket()
throws IOException
- Abstract method that return a newly accepted socket.
- Throws:
IOException
beforeFirstStart
protected void beforeFirstStart(Component componentItf)
throws IllegalLifeCycleException
- Throws:
IllegalLifeCycleException
- See Also:
AbstractComponent.beforeFirstStart(org.objectweb.fractal.api.Component)
listFc
public String[] listFc()
- See Also:
BindingController.listFc()
bindFc
public void bindFc(String clientItfName,
Object serverItf)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
- See Also:
BindingController.bindFc(String,
Object)
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.