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.impl.netty.udp |
Modifier and Type | Field and Description |
---|---|
static Class<? extends DatagramServer> |
NetStreams.DEFAULT_UDP_SERVER_TYPE |
protected Constructor<? extends DatagramServer> |
Spec.DatagramServerSpec.serverImplCtor |
Modifier and Type | Method and Description |
---|---|
protected DatagramServer<IN,OUT> |
Spec.DatagramServerSpec.configure(Dispatcher dispatcher,
Environment environment) |
static DatagramServer<Buffer,Buffer> |
NetStreams.udpServer()
Bind a new UDP server to the "loopback" address.
|
static <IN,OUT> DatagramServer<IN,OUT> |
NetStreams.udpServer(Class<? extends DatagramServer> serverFactory,
Function<? super Spec.DatagramServerSpec<IN,OUT>,? extends Spec.DatagramServerSpec<IN,OUT>> configuringFunction)
Bind a new UDP server to the specified bind address and port.
|
static <IN,OUT> DatagramServer<IN,OUT> |
NetStreams.udpServer(Function<? super Spec.DatagramServerSpec<IN,OUT>,? extends Spec.DatagramServerSpec<IN,OUT>> configuringFunction)
Bind a new UDP server to the specified bind address and port.
|
static DatagramServer<Buffer,Buffer> |
NetStreams.udpServer(int port)
Bind a new UDP server to the "loopback" address and specified port.
|
static DatagramServer<Buffer,Buffer> |
NetStreams.udpServer(String bindAddress)
Bind a new UDP server to the given bind address.
|
static DatagramServer<Buffer,Buffer> |
NetStreams.udpServer(String bindAddress,
int port)
Bind a new UDP server to the given bind address and port.
|
Modifier and Type | Method and Description |
---|---|
static <IN,OUT> DatagramServer<IN,OUT> |
NetStreams.udpServer(Class<? extends DatagramServer> serverFactory,
Function<? super Spec.DatagramServerSpec<IN,OUT>,? extends Spec.DatagramServerSpec<IN,OUT>> configuringFunction)
Bind a new UDP server to the specified bind address and port.
|
Modifier and Type | Class and Description |
---|---|
class |
NettyDatagramServer<IN,OUT>
DatagramServer implementation built on Netty. |
Copyright © 2017. All rights reserved.