Package | Description |
---|---|
reactor.io.net |
Reactive network components are located in this package scope implementing the following exposed contract:
A
ReactorPeer NetServer/NetClient is a Publisher of
ReactorChannel that are themselves Publisher of input data. |
reactor.io.net.config |
Configuration of the various TCP parameters for clients and servers.
|
reactor.io.net.impl.netty.http | |
reactor.io.net.impl.netty.tcp | |
reactor.io.net.impl.zmq.tcp | |
reactor.io.net.tcp |
Components for writing TCP-based clients and servers using Reactor abstractions.
|
reactor.io.net.tcp.ssl |
Support classes for Reactor's TCP SSL support.
|
Modifier and Type | Method and Description |
---|---|
Spec.TcpClientSpec<IN,OUT> |
Spec.TcpClientSpec.ssl(SslOptions sslOptions)
Set the options to use for configuring SSL.
|
Spec.TcpServerSpec<IN,OUT> |
Spec.TcpServerSpec.ssl(SslOptions sslOptions)
Set the options to use for configuring SSL.
|
Spec.HttpServerSpec<IN,OUT> |
Spec.HttpServerSpec.ssl(SslOptions sslOptions)
Set the options to use for configuring SSL.
|
Spec.HttpClientSpec<IN,OUT> |
Spec.HttpClientSpec.ssl(SslOptions sslOptions)
Set the options to use for configuring SSL.
|
Modifier and Type | Method and Description |
---|---|
SslOptions |
SslOptions.keyManagerFactoryAlgorithm(String keyManagerFactoryAlgorithm) |
SslOptions |
SslOptions.keyManagerPasswd(String keyManagerPasswd) |
SslOptions |
SslOptions.keystoreFile(String keystoreFile) |
SslOptions |
SslOptions.keystorePasswd(String keystorePasswd) |
SslOptions |
SslOptions.sslProtocol(String sslProtocol) |
SslOptions |
SslOptions.trustManagerFactoryAlgorithm(String trustManagerFactoryAlgorithm) |
SslOptions |
SslOptions.trustManagerPasswd(String trustManagerPasswd) |
SslOptions |
SslOptions.trustManagers(Supplier<TrustManager[]> trustManagers) |
Constructor and Description |
---|
NettyHttpClient(Environment env,
Dispatcher dispatcher,
Supplier<InetSocketAddress> connectAddress,
ClientSocketOptions options,
SslOptions sslOptions,
Codec<Buffer,IN,OUT> codec)
Creates a new NettyTcpClient that will use the given
env for configuration and the given reactor to
send events. |
NettyHttpServer(Environment env,
Dispatcher dispatcher,
InetSocketAddress listenAddress,
ServerSocketOptions options,
SslOptions sslOptions,
Codec<Buffer,IN,OUT> codec) |
Constructor and Description |
---|
NettyTcpClient(Environment env,
Dispatcher dispatcher,
Supplier<InetSocketAddress> hostSupplier,
ClientSocketOptions options,
SslOptions sslOptions,
Codec<Buffer,IN,OUT> codec)
Creates a new NettyTcpClient that will use the given
env for configuration and the given reactor to
send events. |
NettyTcpServer(Environment env,
Dispatcher dispatcher,
InetSocketAddress listenAddress,
ServerSocketOptions options,
SslOptions sslOptions,
Codec<Buffer,IN,OUT> codec) |
Constructor and Description |
---|
ZeroMQTcpClient(Environment env,
Dispatcher eventsDispatcher,
Supplier<InetSocketAddress> connectAddress,
ClientSocketOptions options,
SslOptions sslOptions,
Codec<Buffer,IN,OUT> codec) |
ZeroMQTcpServer(Environment env,
Dispatcher eventsDispatcher,
InetSocketAddress listenAddress,
ServerSocketOptions options,
SslOptions sslOptions,
Codec<Buffer,IN,OUT> codec) |
Modifier and Type | Method and Description |
---|---|
protected SslOptions |
TcpServer.getSslOptions()
Get the
SslOptions current in effect. |
protected SslOptions |
TcpClient.getSslOptions()
Get the
SslOptions current in effect. |
Constructor and Description |
---|
TcpClient(Environment env,
Dispatcher dispatcher,
Supplier<InetSocketAddress> connectAddress,
ClientSocketOptions options,
SslOptions sslOptions,
Codec<Buffer,IN,OUT> codec) |
TcpServer(Environment env,
Dispatcher dispatcher,
InetSocketAddress listenAddress,
ServerSocketOptions options,
SslOptions sslOptions,
Codec<Buffer,IN,OUT> codec) |
Constructor and Description |
---|
SSLEngineSupplier(SslOptions sslOpts,
boolean client) |
Copyright © 2016. All rights reserved.