Interface RSocketServerFactory
- All Known Implementing Classes:
NettyRSocketServerFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory interface that can be used to create a reactive
RSocketServer
.- Since:
- 2.2.0
- Author:
- Brian Clozel
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(io.rsocket.SocketAcceptor socketAcceptor) Gets a new fully configured but pausedRSocketServer
instance.
-
Method Details
-
create
Gets a new fully configured but pausedRSocketServer
instance. Clients should not be able to connect to the returned server untilRSocketServer.start()
is called (which happens when theApplicationContext
has been fully refreshed).- Parameters:
socketAcceptor
- the socket acceptor- Returns:
- a fully configured and started
RSocketServer
- See Also:
-