org.objectweb.dream.channel
Class WaitByteStreamImpl

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

public class WaitByteStreamImpl
extends AbstractComponent
implements WaitByte

Read a byte from the given input used as InputStream.


Field Summary
 
Fields inherited from class org.objectweb.dream.AbstractComponent
bindingLogger, componentDesc, fcState, firstStart, lifeCycleLogger, logger, weaveableC
 
Fields inherited from interface org.objectweb.dream.channel.WaitByte
ITF_NAME
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Constructor Summary
WaitByteStreamImpl()
           
 
Method Summary
 String[] listFc()
           
 int waitByte(Object input)
          Wait until a byte can be read on the given input.
 
Methods inherited from class org.objectweb.dream.AbstractComponent
beforeFirstStart, bindFc, 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
 

Constructor Detail

WaitByteStreamImpl

public WaitByteStreamImpl()
Method Detail

waitByte

public int waitByte(Object input)
             throws IOException
Description copied from interface: WaitByte
Wait until a byte can be read on the given input.

Specified by:
waitByte in interface WaitByte
Parameters:
input - an input.
Returns:
the byte read.
Throws:
IOException - If an I/O error occurs
See Also:
WaitByte.waitByte(Object)

listFc

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


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