SynchChannelInputStream (ActiveIO 1.0 API)
Keywords: org.activeio.adapter.SynchChannelInputStream 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.adapter
Class SynchChannelInputStream

    java.lang.Object
      java.io.InputStream
          org.activeio.adapter.SynchChannelInputStream

public class SynchChannelInputStream
extends java.io.InputStream

Provides an InputStream for a given SynchChannel.

Version:
  $Revision$

Constructor Summary
`SynchChannelInputStream(SynchChannel channel)`

Method Summary
`void` | `close()`
`long` | `getTimeout()`
`boolean` | `isClosed()`
`int` | `read()`
`int` | `read(byte[] b, int off, int len)`
`void` | `setTimeout(long timeout)`

Methods inherited from class java.io.InputStream
`available, mark, markSupported, read, reset, skip`

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

Constructor Detail

### SynchChannelInputStream

    public SynchChannelInputStream(SynchChannel channel)

Parameters:
  `channel` -

Method Detail

### read

    public int read()
             throws java.io.IOException

  Throws:
    `java.io.IOException`
  See Also:
    `InputStream.read()`

### read

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

  Throws:
    `java.io.IOException`
  See Also:
    `InputStream.read(byte[], int, int)`

### close

    public void close()
               throws java.io.IOException

  Throws:
    `java.io.IOException`
  See Also:
    `InputStream.close()`

### isClosed

    public boolean isClosed()

### setTimeout

    public void setTimeout(long timeout)

  Parameters:
    `timeout` -

### getTimeout

    public long getTimeout()

  Returns:

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.