接口 RSocketServerFactory

所有已知实现类:
NettyRSocketServerFactory
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface RSocketServerFactory
Factory interface that can be used to create a reactive RSocketServer.
从以下版本开始:
2.2.0
作者:
Brian Clozel
  • 方法概要

    修饰符和类型
    方法
    说明
    create(io.rsocket.SocketAcceptor socketAcceptor)
    Gets a new fully configured but paused RSocketServer instance.
  • 方法详细资料

    • 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).
      参数:
      socketAcceptor - the socket acceptor
      返回:
      a fully configured and started RSocketServer
      另请参阅: