setup for a new connection and creates a responder RSocket for accepting requests from the remote peer.
| Modifier and Type | Method and Description |
|---|---|
| public Mono | Returns: RSocket to accept requests with.the setup, RSocket setup received from a client in a server scenario, or in a client
scenario this is the setup about to be sent to the server.socket for sending requests to the remote peer. sendingSocket)Handle the |
| public static SocketAcceptor | forFireAndForget(Function<Payload, Mono<Void>> handler)
Create a |
| public static SocketAcceptor | |
| public static SocketAcceptor | forRequestResponse(Function<Payload, Mono<Payload>> handler)
Create a |
| public static SocketAcceptor | forRequestStream(Function<Payload, Flux<Payload>> handler)
Create a |
| public static SocketAcceptor |
| accept | back to summary |
|---|---|
| public Mono Handle the
| |
| forFireAndForget | back to summary |
|---|---|
| public static SocketAcceptor forFireAndForget(Function<Payload, Mono<Void>> handler) Create a | |
| forRequestChannel | back to summary |
|---|---|
| public static SocketAcceptor forRequestChannel(Function<Publisher<Payload>, Flux<Payload>> handler) Create a | |
| forRequestResponse | back to summary |
|---|---|
| public static SocketAcceptor forRequestResponse(Function<Payload, Mono<Payload>> handler) Create a | |
| forRequestStream | back to summary |
|---|---|
| public static SocketAcceptor forRequestStream(Function<Payload, Flux<Payload>> handler) Create a | |
| with | back to summary |
|---|---|
| public static SocketAcceptor with(RSocket rsocket) Create a | |