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.

@FunctionalInterface public interface RSocketServerFactory
Factory interface that can be used to create a reactive RSocketServer.
Since:
2.2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    create(io.rsocket.SocketAcceptor socketAcceptor)
    Gets a new fully configured but paused RSocketServer instance.
  • Method Details

    • create

      RSocketServer create(io.rsocket.SocketAcceptor socketAcceptor)
      Gets a new fully configured but paused RSocketServer instance. Clients should not be able to connect to the returned server until RSocketServer.start() is called (which happens when the ApplicationContext has been fully refreshed).
      Parameters:
      socketAcceptor - the socket acceptor
      Returns:
      a fully configured and started RSocketServer
      See Also: