org.fusesource.fabric.dosgi.tcp
Class TcpTransportFactory
java.lang.Object
org.fusesource.fabric.dosgi.tcp.TcpTransportFactory
public class TcpTransportFactory
- extends java.lang.Object
- Author:
- Hiram Chirino, David Martin Clavo david(dot)martin(dot)clavo(at)gmail.com (logging improvement modifications)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpTransportFactory
public TcpTransportFactory()
bind
public TcpTransportServer bind(java.lang.String location)
throws java.lang.Exception
- Throws:
java.lang.Exception
connect
public TcpTransport connect(java.lang.String location)
throws java.lang.Exception
- Throws:
java.lang.Exception
createTcpTransportServer
protected TcpTransportServer createTcpTransportServer(java.net.URI location)
throws java.io.IOException,
java.net.URISyntaxException,
java.lang.Exception
- Allows subclasses of TcpTransportFactory to create custom instances of
TcpTransportServer.
- Throws:
java.io.IOException
java.net.URISyntaxException
java.lang.Exception
createTransport
protected TcpTransport createTransport(java.net.URI uri)
throws java.security.NoSuchAlgorithmException,
java.lang.Exception
- Allows subclasses of TcpTransportFactory to create custom instances of
TcpTransport.
- Throws:
java.security.NoSuchAlgorithmException
java.lang.Exception
getLocalLocation
protected java.net.URI getLocalLocation(java.net.URI location)
getOption
protected java.lang.String getOption(java.util.Map options,
java.lang.String key,
java.lang.String def)
Copyright © 2013 Red Hat. All Rights Reserved.