org.activeio
Interface OutputStreamChannel

All Superinterfaces:
Channel, Disposable, Service
All Known Subinterfaces:
StreamChannel
All Known Implementing Classes:
SocketStreamChannel

public interface OutputStreamChannel
extends Channel

Version:
$Revision$

Field Summary
 
Fields inherited from interface org.activeio.Service
NO_WAIT_TIMEOUT, WAIT_FOREVER_TIMEOUT
 
Method Summary
 void flush()
          Some channels may buffer data which may be sent down if flush() is called.
 void write(byte[] data)
           
 void write(byte[] data, int pos, int length)
           
 void write(int data)
           
 
Methods inherited from interface org.activeio.Channel
narrow
 
Methods inherited from interface org.activeio.Disposable
dispose
 
Methods inherited from interface org.activeio.Service
start, stop
 

Method Detail

write

public void write(byte[] data,
                  int pos,
                  int length)
           throws IOException
Throws:
IOException

write

public void write(byte[] data)
           throws IOException
Throws:
IOException

write

public void write(int data)
           throws IOException
Throws:
IOException

flush

public void flush()
           throws IOException
Some channels may buffer data which may be sent down if flush() is called.

Throws:
IOException


Copyright © -2007 The ActiveIO Project. All Rights Reserved.