org.apache.geronimo.gshell.whisper.transport
Interface TransportFactory<T extends Transport,TC extends Transport.Configuration,S extends TransportServer,SC extends TransportServer.Configuration>

All Known Implementing Classes:
BaseTransportFactory, SslTransportFactory, TcpTransportFactory, VmTransportFactory

public interface TransportFactory<T extends Transport,TC extends Transport.Configuration,S extends TransportServer,SC extends TransportServer.Configuration>

Factory for producing client and server transport implementations.

Version:
$Rev: 579828 $ $Date: 2007-09-26 15:15:42 -0700 (Wed, 26 Sep 2007) $

Method Summary
 S bind(URI location, org.apache.mina.common.IoHandler handler)
           
 S bind(URI location, SC config)
           
 T connect(URI remote, URI local, org.apache.mina.common.IoHandler handler)
           
 T connect(URI remote, URI local, TC config)
           
 String getScheme()
           
 

Method Detail

getScheme

String getScheme()

connect

T connect(URI remote,
          URI local,
          TC config)
                            throws Exception
Throws:
Exception

connect

T connect(URI remote,
          URI local,
          org.apache.mina.common.IoHandler handler)
                            throws Exception
Throws:
Exception

bind

S bind(URI location,
       SC config)
                               throws Exception
Throws:
Exception

bind

S bind(URI location,
       org.apache.mina.common.IoHandler handler)
                               throws Exception
Throws:
Exception


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.