public interface SocketAcceptor
setup for a new connection and creates a responder RSocket for accepting requests from the remote peer.| Modifier and Type | Method and Description |
|---|---|
Mono<RSocket> |
accept(ConnectionSetupPayload setup,
RSocket sendingSocket)
Handle the
SETUP frame for a new connection and create a responder RSocket for
handling requests from the remote peer. |
Mono<RSocket> accept(ConnectionSetupPayload setup, RSocket sendingSocket)
SETUP frame for a new connection and create a responder RSocket for
handling requests from the remote peer.setup - the 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.sendingSocket - socket for sending requests to the remote peer.RSocket to accept requests with.SetupException - If the acceptor needs to reject the setup of this socket.