org.apache.geronimo.gshell.whisper.transport
Interface Transport<T extends org.apache.mina.common.IoConnector>
- All Superinterfaces:
- Closeable
- All Known Implementing Classes:
- BaseTransport, SslTransport, TcpTransport, TransportAdapter, VmTransport
public interface Transport<T extends org.apache.mina.common.IoConnector>
- extends Closeable
Provides the client-side protocol interface.
- Version:
- $Rev: 579828 $ $Date: 2007-09-26 15:15:42 -0700 (Wed, 26 Sep 2007) $
getRemote
URI getRemote()
getLocal
URI getLocal()
getConnector
T getConnector()
getSession
org.apache.mina.common.IoSession getSession()
close
void close()
- Specified by:
close in interface Closeable
send
org.apache.mina.common.WriteFuture send(Object msg)
throws Exception
- Throws:
Exception
request
Message request(Message msg,
Duration timeout)
throws Exception
- Throws:
Exception
request
Message request(Message msg)
throws Exception
- Throws:
Exception
getInputStream
InputStream getInputStream()
getOutputStream
OutputStream getOutputStream()
getErrorStream
OutputStream getErrorStream()
addListener
void addListener(Transport.Listener listener)
removeListener
void removeListener(Transport.Listener listener)
setConfiguration
void setConfiguration(Transport.Configuration config)
getConfiguration
Transport.Configuration getConfiguration()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.