ReactorPeer NetServer/NetClient is a Publisher of
ReactorChannel that are themselves Publisher of input data.See: Description
| Interface | Description |
|---|---|
| NetStreams.HttpClientFactory<IN,OUT> | |
| NetStreams.HttpServerFactory<IN,OUT> | |
| NetStreams.TcpClientFactory<IN,OUT> | |
| NetStreams.TcpServerFactory<IN,OUT> | |
| NetStreams.UdpServerFactory<IN,OUT> | |
| ReactorChannel<IN,OUT> |
Channel is a virtual connection that often matches with a Socket or a Channel (e.g. |
| ReactorChannel.ConsumerSpec |
Spec class for assigning multiple event handlers on a channel.
|
| ReactorChannelHandler<IN,OUT,CONN extends ReactorChannel<IN,OUT>> |
A
ReactorChannel callback that is attached on ReactorPeer or ReactorClient initialization and receives
all connected ReactorChannel. |
| Reconnect |
Implementations of this interface will be instantiated by a
Supplier to provide information
to the TcpClient whether or not to attempt to reconnect a broken connection. |
| Spec |
Specifications used to build client and servers.
|
| Class | Description |
|---|---|
| ChannelStream<IN,OUT> |
An abstract
ReactorChannel implementation that handles the basic interaction and behave as a Stream. |
| NetSelectors |
Helper methods for creating
Selectors. |
| NetStreams |
A Streams add-on to work with network facilities from reactor-net, e.g.:
|
| ReactorClient<IN,OUT,CONN extends ChannelStream<IN,OUT>> |
A network-aware client that will publish its connection once available to the
ReactorChannelHandler passed. |
| ReactorPeer<IN,OUT,CONN extends ChannelStream<IN,OUT>> |
Abstract base class that implements common functionality shared by clients and servers.
|
| Spec.DatagramServerSpec<IN,OUT> | |
| Spec.HttpClientSpec<IN,OUT> |
A helper class for specifying a
HttpClient |
| Spec.HttpServerSpec<IN,OUT> |
A HttpServer Spec is used to specify an HttpServer
|
| Spec.IncrementalBackoffReconnect |
A helper class for configure a new
Reconnect. |
| Spec.PeerSpec<IN,OUT,CONN extends ChannelStream<IN,OUT>,S extends Spec.PeerSpec<IN,OUT,CONN,S,N>,N extends ReactorPeer<IN,OUT,CONN>> | |
| Spec.TcpClientSpec<IN,OUT> |
A helper class for specifying a
TcpClient |
| Spec.TcpServerSpec<IN,OUT> |
A TcpServerSpec is used to specify a TcpServer
|
ReactorPeer NetServer/NetClient is a Publisher of
ReactorChannel that are themselves Publisher of input data.
This input data will be the received information from a Server perspective and response information from a Client perspective.
A channel also expose useful methods to write, close and generally control the lifecycle of the underlying connection.