public class TcpTransportFactory extends Object implements TransportFactory.Provider
| Constructor and Description |
|---|
TcpTransportFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.fusesource.hawtdispatch.transport.TransportServer |
bind(String location) |
org.fusesource.hawtdispatch.transport.Transport |
connect(String location) |
protected org.fusesource.hawtdispatch.transport.TcpTransportServer |
createTcpTransportServer(URI location,
Map<String,String> options)
Allows subclasses of TcpTransportFactory to create custom instances of
TcpTransportServer.
|
protected org.fusesource.hawtdispatch.transport.TcpTransport |
createTransport(URI uri)
Allows subclasses of TcpTransportFactory to create custom instances of
TcpTransport.
|
protected URI |
getLocalLocation(URI location) |
protected String |
getOption(Map options,
String key,
String def) |
public org.fusesource.hawtdispatch.transport.TransportServer bind(String location) throws Exception
bind in interface TransportFactory.ProviderExceptionpublic org.fusesource.hawtdispatch.transport.Transport connect(String location) throws Exception
connect in interface TransportFactory.ProviderExceptionprotected org.fusesource.hawtdispatch.transport.TcpTransportServer createTcpTransportServer(URI location, Map<String,String> options) throws IOException, URISyntaxException, Exception
IOExceptionURISyntaxExceptionExceptionprotected org.fusesource.hawtdispatch.transport.TcpTransport createTransport(URI uri) throws NoSuchAlgorithmException, Exception
NoSuchAlgorithmExceptionExceptionCopyright © 2005–2015 The Apache Software Foundation. All rights reserved.