org.springframework.boot.rsocket.server

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
    Author:
    Brian Clozel
    • Method Detail

      • 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:
        RSocketServer.stop()

Copyright © 2019 Pivotal Software, Inc.. All rights reserved.