org.objectweb.dream.channel
Class GenericPushChannelInImpl

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

public class GenericPushChannelInImpl
extends AbstractComponent
implements OpenedSocket

Generic push ChannelIn implementation.


Field Summary
protected  MessageCodec messageCodecItf
           
protected  MessageManager messageManagerItf
           
protected  Push outPushItf
           
static String SEND_ACK_OPT_ITF_NAME
          The name of the optional client interface used by this coponent to send an acknowlegdment
protected  SendByte sendAckOptItf
           
 
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
GenericPushChannelInImpl()
           
 
Method Summary
 void bindFc(String clientItfName, Object serverItf)
           
 String[] listFc()
           
 void openedSocket(SocketState socket)
          Gives an opened socket.
 void unbindFc(String clientItfName)
           
 
Methods inherited from class org.objectweb.dream.AbstractComponent
beforeFirstStart, getFcState, initComponent, lookupFc, setLogger, startFc, stopFc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEND_ACK_OPT_ITF_NAME

public static final String SEND_ACK_OPT_ITF_NAME
The name of the optional client interface used by this coponent to send an acknowlegdment

See Also:
Constant Field Values

outPushItf

protected Push outPushItf

messageManagerItf

protected MessageManager messageManagerItf

messageCodecItf

protected MessageCodec messageCodecItf

sendAckOptItf

protected SendByte sendAckOptItf
Constructor Detail

GenericPushChannelInImpl

public GenericPushChannelInImpl()
Method Detail

openedSocket

public void openedSocket(SocketState socket)
                  throws IOException
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.
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)

unbindFc

public void unbindFc(String clientItfName)
              throws NoSuchInterfaceException,
                     IllegalBindingException,
                     IllegalLifeCycleException
Specified by:
unbindFc in interface BindingController
Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
See Also:
BindingController.unbindFc(String)


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