类 NettyRSocketServer
java.lang.Object
org.springframework.boot.rsocket.netty.NettyRSocketServer
- 所有已实现的接口:
RSocketServer
RSocketServer that is based on a Reactor Netty server. Usually this class
should be created using the NettyRSocketServerFactory and not directly.- 从以下版本开始:
- 2.2.0
- 作者:
- Brian Clozel
-
嵌套类概要
从接口继承的嵌套类/接口 org.springframework.boot.rsocket.server.RSocketServer
RSocketServer.Transport -
构造器概要
构造器构造器说明NettyRSocketServer(reactor.core.publisher.Mono<io.rsocket.transport.netty.server.CloseableChannel> starter, Duration lifecycleTimeout) -
方法概要
-
构造器详细资料
-
NettyRSocketServer
public NettyRSocketServer(reactor.core.publisher.Mono<io.rsocket.transport.netty.server.CloseableChannel> starter, Duration lifecycleTimeout)
-
-
方法详细资料
-
address
从接口复制的说明:RSocketServerReturn the address this server is listening on.- 指定者:
address在接口中RSocketServer- 返回:
- the address
-
start
从接口复制的说明:RSocketServerStarts the RSocket server. Calling this method on an already started server has no effect.- 指定者:
start在接口中RSocketServer- 抛出:
RSocketServerException- if the server cannot be started
-
stop
从接口复制的说明:RSocketServerStops the RSocket server. Calling this method on an already stopped server has no effect.- 指定者:
stop在接口中RSocketServer- 抛出:
RSocketServerException- if the server cannot be stopped
-