org.objectweb.dream.channel
Class BasicTCPChannelInImpl

java.lang.Object
  extended byorg.objectweb.dream.AbstractComponent
      extended byorg.objectweb.dream.channel.AbstractTCPChannelInImpl
          extended byorg.objectweb.dream.channel.BasicTCPChannelInImpl
All Implemented Interfaces:
AttributeController, BindingController, IPChannelInAttributeController, LifeCycleController, Loggable
Direct Known Subclasses:
ReliableTCPChannelInImpl

public class BasicTCPChannelInImpl
extends AbstractTCPChannelInImpl

Basic implementation of a TCP ChannelIn Component.


Nested Class Summary
protected  class BasicTCPChannelInImpl.ChannelInTask
           
 
Field Summary
protected  Task channelInTask
           
protected  ServerSocket listen
          The ServerSocketused by this component
 
Fields inherited from class org.objectweb.dream.channel.AbstractTCPChannelInImpl
messageCodecItf, openRetry, outPushItf, portNum
 
Fields inherited from class org.objectweb.dream.AbstractComponent
bindingLogger, componentDesc, fcState, lifeCycleLogger, logger, weaveableC
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Constructor Summary
BasicTCPChannelInImpl()
           
 
Method Summary
protected  void initComponent(Component componentItf)
           
 void stopFc()
           
 
Methods inherited from class org.objectweb.dream.channel.AbstractTCPChannelInImpl
bindFc, createServerSocket, getListeningPort, getOpenRetry, listFc, sendAck, setListeningPort, setOpenRetry, setSocketOption
 
Methods inherited from class org.objectweb.dream.AbstractComponent
getFcState, lookupFc, setLogger, startFc, unbindFc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listen

protected ServerSocket listen
The ServerSocketused by this component


channelInTask

protected Task channelInTask
Constructor Detail

BasicTCPChannelInImpl

public BasicTCPChannelInImpl()
Method Detail

initComponent

protected void initComponent(Component componentItf)
                      throws InitializationException
Throws:
InitializationException

stopFc

public void stopFc()
            throws IllegalLifeCycleException
Throws:
IllegalLifeCycleException
See Also:
LifeCycleController.stopFc()


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