Overview | Package | Class | Tree | Deprecated | Index | Help
| Kodo 4.1.4 generated on June 22 2007
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.solarmetric.remote
Interface Transport.Channel

All Superinterfaces:
  Closeable

Enclosing interface:
  Transport

    public static interface Transport.Channel

extends Closeable

A communications channel. Each requested stream will be closed before the next is requested.

Method Summary
`void` | `error(IOException ioe)` Notification that an IO occurred when using this channel.
`InputStream` | `getInput()` Return an input stream from the other end, or null if this channel is no longer connected.
`OutputStream` | `getOutput()` Return an ouput stream to the other end, or null if this channel is no longer connected.

Methods inherited from interface org.apache.openjpa.lib.util.Closeable
`close`

Method Detail

### getOutput

    OutputStream getOutput()
                           throws Exception

  Return an ouput stream to the other end, or null if this channel is no longer connected.

  Throws:
    `Exception`

### getInput

    InputStream getInput()
                         throws Exception

  Return an input stream from the other end, or null if this channel is no longer connected.

  Throws:
    `Exception`

### error

    void error(IOException ioe)

  Notification that an IO occurred when using this channel. If the transport pools behind the scenes, it may wish to discard this channel.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Kodo 4.1.4 generated on June 22 2007
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.