StreamFactoryFactorypublic class AsynchronousSocketChannelStreamFactoryFactory extends Object implements StreamFactoryFactory
StreamFactoryFactory implementation for AsynchronousSocketChannel-based streams.AsynchronousSocketChannel| Modifier and Type | Class | Description |
|---|---|---|
static class |
AsynchronousSocketChannelStreamFactoryFactory.Builder |
A builder for an instance of
AsynchronousSocketChannelStreamFactoryFactory. |
| Constructor | Description |
|---|---|
AsynchronousSocketChannelStreamFactoryFactory() |
Deprecated.
Use
builder() instead to construct the
AsynchronousSocketChannelStreamFactoryFactory. |
| Modifier and Type | Method | 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)
StreamFactoryFactoryStreamFactory with the given settings.create in interface StreamFactoryFactorysocketSettings - the socket settingssslSettings - the SSL settings