Kodo 4.2.0. (DEPRECATED)

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. (DEPRECATED)

Copyright 2011 Oracle, Inc. All Rights Reserved.

This documentation is deprecated and will be removed in the next release of WebLogic Server.


Oracle Fusion Middleware Oracle Kodo 4.2.0 API Reference (DEPRECATED)
11g Release 1 (10.3.6)
Part Number E13950-02