PushbackSynchChannel (ActiveIO 1.0 API)
Keywords: org.activeio.filter.PushbackSynchChannel class

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.filter
Class PushbackSynchChannel

    java.lang.Object
      org.activeio.FilterSynchChannel
          org.activeio.filter.PushbackSynchChannel

All Implemented Interfaces:
  Channel, Disposable, InputSynchChannel, OutputChannel, Service, SynchChannel

public class PushbackSynchChannel
extends FilterSynchChannel

Field Summary

Fields inherited from interface org.activeio.Service
`NO_WAIT_TIMEOUT, WAIT_FOREVER_TIMEOUT`

Constructor Summary
`PushbackSynchChannel(SynchChannel next)`
`PushbackSynchChannel(SynchChannel next, Packet putback)`

Method Summary
`void` | `putback(Packet packet)`
`Packet` | `read(long timeout)` Used to synchonously receive a packet of information going 'up' the channel.

Methods inherited from class org.activeio.FilterSynchChannel
`dispose, flush, getNext, narrow, start, stop, toString, write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### PushbackSynchChannel

    public PushbackSynchChannel(SynchChannel next)

### PushbackSynchChannel

    public PushbackSynchChannel(SynchChannel next,
                                Packet putback)

Method Detail

### putback

    public void putback(Packet packet)

### read

    public Packet read(long timeout)
                throws java.io.IOException

  Description copied from interface: `InputSynchChannel`
  Used to synchonously receive a packet of information going 'up' the channel. This method blocks until a packet is received or the operation experiences timeout.

  Specified by:
    `read` in interface `InputSynchChannel`
  Overrides:
    `read` in class `FilterSynchChannel`
  Throws:
    `java.io.IOException`
  See Also:
    `InputSynchChannel.read(long)`

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.