public class TcpTransportFactory
extends java.lang.Object
| Constructor and Description |
|---|
TcpTransportFactory() |
| Modifier and Type | Method and Description |
|---|---|
TcpTransportServer |
bind(java.lang.String location) |
TcpTransport |
connect(java.lang.String location) |
protected TcpTransportServer |
createTcpTransportServer(java.net.URI location)
Allows subclasses of TcpTransportFactory to create custom instances of
TcpTransportServer.
|
protected TcpTransport |
createTransport(java.net.URI uri)
Allows subclasses of TcpTransportFactory to create custom instances of
TcpTransport.
|
protected java.net.URI |
getLocalLocation(java.net.URI location) |
protected java.lang.String |
getOption(java.util.Map options,
java.lang.String key,
java.lang.String def) |
public TcpTransportServer bind(java.lang.String location) throws java.lang.Exception
java.lang.Exceptionpublic TcpTransport connect(java.lang.String location) throws java.lang.Exception
java.lang.Exceptionprotected TcpTransportServer createTcpTransportServer(java.net.URI location) throws java.io.IOException, java.net.URISyntaxException, java.lang.Exception
java.io.IOExceptionjava.net.URISyntaxExceptionjava.lang.Exceptionprotected TcpTransport createTransport(java.net.URI uri) throws java.security.NoSuchAlgorithmException, java.lang.Exception
java.security.NoSuchAlgorithmExceptionjava.lang.Exceptionprotected java.net.URI getLocalLocation(java.net.URI location)
protected java.lang.String getOption(java.util.Map options,
java.lang.String key,
java.lang.String def)
Copyright © 2014 Red Hat. All Rights Reserved.