Kodo 4.2.0. generated on July 28 2008

com.solarmetric.remote
Interface Transport

All Superinterfaces:
Closeable
All Known Implementing Classes:
HTTPTransport, TCPTransport

public interface Transport
extends Closeable

Abstraction of the transport layer.


Nested Class Summary
static interface Transport.Channel
          A communications channel.
static interface Transport.Server
          Server side transport layer handler.
 
Method Summary
 Transport.Channel getClientChannel()
          Return a transport client channel to communicate with a remote server.
 Transport.Server getServer()
          Return a transport server to listen for client connections.
 
Methods inherited from interface org.apache.openjpa.lib.util.Closeable
close
 

Method Detail

getServer

Transport.Server getServer()
                           throws Exception
Return a transport server to listen for client connections. Only one server will ever be requested per transport instance.

Throws:
Exception

getClientChannel

Transport.Channel getClientChannel()
                                   throws Exception
Return a transport client channel to communicate with a remote server.

Throws:
Exception

Kodo 4.2.0. generated on July 28 2008

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