ClientTransport that connects to a ServerTransport via TCP.
| Modifier and Type | Field and Description |
|---|---|
| private final TcpClient | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Mono | connect()
Implements io. Mono that connects for each subscriber.
|
| public static TcpClientTransport | Returns: a new instancethe port to connect to port)Creates a new instance connecting to localhost |
| public static TcpClientTransport | |
| public static TcpClientTransport | Returns: a new instancethe address to connect to address)Creates a new instance |
| public static TcpClientTransport | |
| public static TcpClientTransport | |
| public int | maxFrameLength()
Overrides default io. DuplexConnection can bring up
to RSocket level.
|
| client | back to summary |
|---|---|
| private final TcpClient client | |
| maxFrameLength | back to summary |
|---|---|
| private final int maxFrameLength | |
| TcpClientTransport | back to summary |
|---|---|
| private TcpClientTransport(TcpClient client, int maxFrameLength) | |
| connect | back to summary |
|---|---|
| public Mono Implements io. Doc from io. Return a
| |
| create | back to summary |
|---|---|
| public static TcpClientTransport create(int port) Creates a new instance connecting to localhost
| |
| create | back to summary |
|---|---|
| public static TcpClientTransport create(String bindAddress, int port) Creates a new instance
| |
| create | back to summary |
|---|---|
| public static TcpClientTransport create(InetSocketAddress address) Creates a new instance
| |
| create | back to summary |
|---|---|
| public static TcpClientTransport create(TcpClient client) Creates a new instance
| |
| create | back to summary |
|---|---|
| public static TcpClientTransport create(TcpClient client, int maxFrameLength) Creates a new instance
| |
| maxFrameLength | back to summary |
|---|---|
| public int maxFrameLength() Overrides default io. Doc from io. Configurations that exposes the maximum frame size that a This number should not exist the 16,777,215 (maximum frame size specified by RSocket spec)
| |