public class NIOSSLTransportFactory extends NIOTransportFactory
Modifier and Type | Field and Description |
---|---|
protected SSLContext |
context |
Constructor and Description |
---|
NIOSSLTransportFactory() |
Modifier and Type | Method and Description |
---|---|
Transport |
compositeConfigure(Transport transport,
WireFormat format,
Map options)
Overriding to allow for proper configuration through reflection but
delegate to get common configuration
|
protected SocketFactory |
createSocketFactory()
Creates a new SSL SocketFactory.
|
protected TcpTransportServer |
createTcpTransportServer(URI location,
ServerSocketFactory serverSocketFactory)
Allows subclasses of TcpTransportFactory to create custom instances of
TcpTransportServer.
|
protected Transport |
createTransport(URI location,
WireFormat wf)
Overriding to use SslTransports.
|
TransportServer |
doBind(URI location) |
createServerSocketFactory, createTcpTransport
createInactivityMonitor, isUseInactivityMonitor
bind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigure
protected SSLContext context
public NIOSSLTransportFactory()
protected TcpTransportServer createTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException
TcpTransportFactory
createTcpTransportServer
in class NIOTransportFactory
IOException
URISyntaxException
public TransportServer doBind(URI location) throws IOException
doBind
in class TcpTransportFactory
IOException
public Transport compositeConfigure(Transport transport, WireFormat format, Map options)
compositeConfigure
in class TcpTransportFactory
protected Transport createTransport(URI location, WireFormat wf) throws UnknownHostException, IOException
createTransport
in class TcpTransportFactory
UnknownHostException
IOException
protected SocketFactory createSocketFactory() throws IOException
createSocketFactory
in class NIOTransportFactory
IOException
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.