PeerStream NetServer/NetClient is a Publisher of
Channel that are themselves Publisher of input data.See: Description
| Interface | Description |
|---|---|
| Channel<IN,OUT> |
NetChannel is a virtual connection that often matches with a Socket or a Channel (e.g. |
| Channel.ConsumerSpec |
Spec class for assigning multiple event handlers on a channel.
|
| Client<IN,OUT,CONN extends Channel<IN,OUT>> |
A network-aware client that will publish its connection once available and complete on shutdown.
|
| 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. |
| Server<IN,OUT,CONN extends Channel<IN,OUT>> |
A network-aware server that will publish virtual connections (NetChannel) to consume data on.
|
| Spec |
Specifications used to build client and servers.
|
| Class | Description |
|---|---|
| ChannelStream<IN,OUT> |
An abstract
Channel 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.:
|
| PeerStream<IN,OUT,CONN extends ChannelStream<IN,OUT>> |
Abstract base class that implements common functionality shared by clients and servers.
|
| Spec.DatagramServer<IN,OUT> | |
| Spec.HttpClient<IN,OUT> |
A helper class for specifying a
HttpClient |
| Spec.HttpServer<IN,OUT> |
A HttpServer Spec is used to specify an HttpServer
|
| Spec.IncrementalBackoffReconnect |
A helper class for configure a new
Reconnect. |
| Spec.Server<IN,OUT,CONN extends Channel<IN,OUT>,S extends Spec.Server<IN,OUT,CONN,S,N>,N extends Server<IN,OUT,CONN>> | |
| Spec.TcpClient<IN,OUT> |
A helper class for specifying a
TcpClient |
| Spec.TcpServer<IN,OUT> |
A TcpServerSpec is used to specify a TcpServer
|
PeerStream NetServer/NetClient is a Publisher of
Channel 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.