org.objectweb.dream.channel
Class SendByteStreamImpl

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

public class SendByteStreamImpl
extends AbstractComponent
implements SendByte

Write a byte from the given output used as OutputStream.


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.SendByte
ITF_NAME
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Constructor Summary
SendByteStreamImpl()
           
 
Method Summary
 String[] listFc()
           
 void sendByte(Object output, int b)
          Send a byte throuw the given output.
 
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

SendByteStreamImpl

public SendByteStreamImpl()
Method Detail

sendByte

public void sendByte(Object output,
                     int b)
              throws IOException
Description copied from interface: SendByte
Send a byte throuw the given output.

Specified by:
sendByte in interface SendByte
Parameters:
output - an output
b - the byte to send (value from 0 to 255).
Throws:
IOException - if an error occurs.
See Also:
SendByte.sendByte(Object, int)

listFc

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


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