OutputChannel (ActiveIO 1.0 API)
Keywords: org.activeio.OutputChannel interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.activeio
Interface OutputChannel

All Superinterfaces:
  Channel, Disposable, Service

All Known Subinterfaces:
  AsynchChannel, SynchChannel

All Known Implementing Classes:
  AIOAsynchChannel, AsynchToSynchChannelAdapter, DatagramSocketSynchChannel, FilterAsynchChannel, FilterSynchChannel, NIOAsynchChannel, NIOSynchChannel, SocketSynchChannel, SynchToAsynchChannelAdapter, VMPipeAsynchChannelFactory.ClassloaderAsynchChannelAdapter, VMPipeAsynchChannelPipe.PipeChannel

public interface OutputChannel
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(Packet packet)` Sends a packet down the channel towards the media.

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(Packet packet)
               throws java.io.IOException

  Sends a packet down the channel towards the media.

  Parameters:
    `packet` -
  Throws:
    `java.io.IOException`

### flush

    public void flush()
               throws java.io.IOException

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

  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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