com.solarmetric.remote
Interface Transport
- All Superinterfaces:
- com.solarmetric.util.Closeable
- All Known Implementing Classes:
- HTTPTransport, TCPTransport
- public interface Transport
- extends com.solarmetric.util.Closeable
Abstraction of the transport layer.
Methods inherited from interface com.solarmetric.util.Closeable |
close |
getServer
public Transport.Server getServer()
throws Exception
- Return a transport server to listen for client connections.
Only one server will ever be requested per transport instance.
getClientChannel
public Transport.Channel getClientChannel()
throws Exception
- Return a transport client channel to communicate with a remote
server.
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.