public class AsynchronousSocketChannelStreamFactoryFactory extends java.lang.Object implements StreamFactoryFactory
StreamFactoryFactory
implementation for AsynchronousSocketChannel-based streams.AsynchronousSocketChannel
Modifier and Type | Class and Description |
---|---|
static class |
AsynchronousSocketChannelStreamFactoryFactory.Builder
A builder for an instance of
AsynchronousSocketChannelStreamFactoryFactory . |
Constructor and Description |
---|
AsynchronousSocketChannelStreamFactoryFactory()
Deprecated.
Use
builder() instead to construct the
AsynchronousSocketChannelStreamFactoryFactory . |
Modifier and Type | Method and Description |
---|---|
static AsynchronousSocketChannelStreamFactoryFactory.Builder |
builder()
Gets a builder for an instance of
AsynchronousSocketChannelStreamFactoryFactory . |
StreamFactory |
create(SocketSettings socketSettings,
SslSettings sslSettings)
Create a
StreamFactory with the given settings. |
@Deprecated public AsynchronousSocketChannelStreamFactoryFactory()
builder()
instead to construct the
AsynchronousSocketChannelStreamFactoryFactory
.BufferProvider
and AsynchronousChannelGroup
.public static AsynchronousSocketChannelStreamFactoryFactory.Builder builder()
AsynchronousSocketChannelStreamFactoryFactory
.public StreamFactory create(SocketSettings socketSettings, SslSettings sslSettings)
StreamFactoryFactory
StreamFactory
with the given settings.create
in interface StreamFactoryFactory
socketSettings
- the socket settingssslSettings
- the SSL settingsCopyright © 2010 - 2020 Adobe. All Rights Reserved