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