public class SslTransportFactory extends TcpTransportFactory
| Constructor and Description |
|---|
SslTransportFactory() |
| 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 ServerSocketFactory |
createServerSocketFactory()
Creates a new SSL ServerSocketFactory.
|
protected SocketFactory |
createSocketFactory()
Creates a new SSL SocketFactory.
|
protected SslTransportServer |
createSslTransportServer(URI location,
SSLServerSocketFactory serverSocketFactory)
Allows subclasses of SslTransportFactory to create custom instances of
SslTransportServer.
|
protected Transport |
createTransport(URI location,
WireFormat wf)
Overriding to use SslTransports.
|
SslTransport |
createTransport(WireFormat wireFormat,
Socket socket,
TcpTransport.InitBuffer initBuffer) |
TransportServer |
doBind(URI location)
Overriding to use SslTransportServer and allow for proper reflection.
|
createInactivityMonitor, createTcpTransport, createTcpTransportServer, createTransport, isUseInactivityMonitorbind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigurepublic SslTransportFactory()
public TransportServer doBind(URI location) throws IOException
doBind in class TcpTransportFactoryIOExceptionprotected SslTransportServer createSslTransportServer(URI location, SSLServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException
location - serverSocketFactory - IOExceptionURISyntaxExceptionpublic Transport compositeConfigure(Transport transport, WireFormat format, Map options)
compositeConfigure in class TcpTransportFactoryprotected Transport createTransport(URI location, WireFormat wf) throws UnknownHostException, IOException
createTransport in class TcpTransportFactoryUnknownHostExceptionIOExceptionprotected ServerSocketFactory createServerSocketFactory() throws IOException
createServerSocketFactory in class TcpTransportFactoryIOExceptionprotected SocketFactory createSocketFactory() throws IOException
createSocketFactory in class TcpTransportFactoryIOExceptionpublic SslTransport createTransport(WireFormat wireFormat, Socket socket, TcpTransport.InitBuffer initBuffer) throws IOException
createTransport in class TcpTransportFactoryIOExceptionCopyright © 2005–2020 The Apache Software Foundation. All rights reserved.