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.tcp | |
reactor.io.net.impl.zmq.tcp |
Modifier and Type | Field and Description |
---|---|
static Class<? extends TcpClient> |
NetStreams.DEFAULT_TCP_CLIENT_TYPE |
Modifier and Type | Method and Description |
---|---|
protected TcpClient<IN,OUT> |
Spec.TcpClientSpec.configure(Dispatcher dispatcher,
Environment environment) |
static TcpClient<Buffer,Buffer> |
NetStreams.tcpClient()
Bind a new TCP client to the localhost on port 12012.
|
static <IN,OUT> TcpClient<IN,OUT> |
NetStreams.tcpClient(Class<? extends TcpClient> clientFactory,
Function<? super Spec.TcpClientSpec<IN,OUT>,? extends Spec.TcpClientSpec<IN,OUT>> configuringFunction)
Bind a new TCP client to the specified connect address and port.
|
static <IN,OUT> TcpClient<IN,OUT> |
NetStreams.tcpClient(Function<? super Spec.TcpClientSpec<IN,OUT>,? extends Spec.TcpClientSpec<IN,OUT>> configuringFunction)
Bind a new TCP client to the specified connect address and port.
|
static TcpClient<Buffer,Buffer> |
NetStreams.tcpClient(int port)
Bind a new TCP client to "loopback" on the the specified port.
|
static TcpClient<Buffer,Buffer> |
NetStreams.tcpClient(String bindAddress)
Bind a new TCP client to the specified connect address and port 12012.
|
static TcpClient<Buffer,Buffer> |
NetStreams.tcpClient(String bindAddress,
int port)
Bind a new TCP client to the specified connect address and port.
|
Modifier and Type | Method and Description |
---|---|
static <IN,OUT> TcpClient<IN,OUT> |
NetStreams.tcpClient(Class<? extends TcpClient> clientFactory,
Function<? super Spec.TcpClientSpec<IN,OUT>,? extends Spec.TcpClientSpec<IN,OUT>> configuringFunction)
Bind a new TCP client to the specified connect address and port.
|
Modifier and Type | Class and Description |
---|---|
class |
NettyTcpClient<IN,OUT>
A Netty-based
TcpClient . |
Modifier and Type | Class and Description |
---|---|
class |
ZeroMQTcpClient<IN,OUT> |
Copyright © 2016. All rights reserved.