Kodo 4.2.0. generated on July 28 2008

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.


Kodo 4.2.0. generated on July 28 2008

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