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 PacketInputStream

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

public class PacketInputStream
extends java.io.InputStream

Provides an InputStream for a given Packet.

Version:
  $Revision$

Field Summary
`(package private) Packet` | `packet`

Constructor Summary
`PacketInputStream(Packet packet)`

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

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

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

Field Detail

### packet

    final Packet packet

Constructor Detail

### PacketInputStream

    public PacketInputStream(Packet packet)

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)`

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.