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

## com.connecterra.ale.reader
Class DeviceChannel.MarkingInputStream

    java.lang.Object
      java.io.InputStream
          java.io.FilterInputStream
              com.connecterra.ale.reader.DeviceChannel.MarkingInputStream

All Implemented Interfaces:
  Closeable

Enclosing class:
  DeviceChannel

    protected class DeviceChannel.MarkingInputStream

extends FilterInputStream

This class wraps another input stream. Whenever data is successfully read, it calls `DeviceChannel.markUsed()`. Channels can wrap InputStreams they return in this class to handle the last used time bookkeeping.

Field Summary

Fields inherited from class java.io.FilterInputStream
`in`

Constructor Summary
`DeviceChannel.MarkingInputStream(InputStream in)`

Method Summary
`int` | `read()`
`int` | `read(byte[] b)`
`int` | `read(byte[] b, int off, int len)`

Methods inherited from class java.io.FilterInputStream
`available, close, mark, markSupported, reset, skip`

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

Constructor Detail

### DeviceChannel.MarkingInputStream

    public DeviceChannel.MarkingInputStream(InputStream in)

Method Detail

### read

    public int read()
             throws IOException

  Overrides:
    `read` in class `FilterInputStream`
  Throws:
    `IOException`

### read

    public int read(byte[] b)
             throws IOException

  Overrides:
    `read` in class `FilterInputStream`
  Throws:
    `IOException`

### read

    public int read(byte[] b,
                    int off,
                    int len)
             throws IOException

  Overrides:
    `read` in class `FilterInputStream`
  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at ${DOCSWEBROOT} Copyright 2007 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD