ServerTransport that connects to a ClientTransport via TCP.
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final TcpServer |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TcpServerTransport | Returns: a new instancethe port to bind to port)Creates a new instance binding to localhost |
| public static TcpServerTransport | |
| public static TcpServerTransport | Returns: a new instancethe address to bind to address)Creates a new instance |
| public static TcpServerTransport | |
| public static TcpServerTransport | |
| public int | maxFrameLength()
Overrides default io. DuplexConnection can bring up
to RSocket level.
|
| public Mono | start(ServerTransport.
to process a newly accepted connections with acceptorImplements io. |
| maxFrameLength | back to summary |
|---|---|
| private final int maxFrameLength | |
| server | back to summary |
|---|---|
| private final TcpServer server | |
| TcpServerTransport | back to summary |
|---|---|
| private TcpServerTransport(TcpServer server, int maxFrameLength) | |
| create | back to summary |
|---|---|
| public static TcpServerTransport create(int port) Creates a new instance binding to localhost
| |
| create | back to summary |
|---|---|
| public static TcpServerTransport create(String bindAddress, int port) Creates a new instance
| |
| create | back to summary |
|---|---|
| public static TcpServerTransport create(InetSocketAddress address) Creates a new instance
| |
| create | back to summary |
|---|---|
| public static TcpServerTransport create(TcpServer server) Creates a new instance
| |
| create | back to summary |
|---|---|
| public static TcpServerTransport create(TcpServer server, 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)
| |
| start | back to summary |
|---|---|
| public Mono Implements io. Doc from io. Start this server.
| |