Class NettyRSocketServer
java.lang.Object
org.springframework.boot.rsocket.netty.NettyRSocketServer
- All Implemented Interfaces:
 RSocketServer
RSocketServer that is based on a Reactor Netty server. Usually this class
 should be created using the NettyRSocketServerFactory and not directly.- Since:
 - 2.2.0
 - Author:
 - Brian Clozel
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.boot.rsocket.server.RSocketServer
RSocketServer.Transport - 
Constructor Summary
ConstructorsConstructorDescriptionNettyRSocketServer(reactor.core.publisher.Mono<io.rsocket.transport.netty.server.CloseableChannel> starter, Duration lifecycleTimeout)  - 
Method Summary
 
- 
Constructor Details
- 
NettyRSocketServer
public NettyRSocketServer(reactor.core.publisher.Mono<io.rsocket.transport.netty.server.CloseableChannel> starter, Duration lifecycleTimeout)  
 - 
 - 
Method Details
- 
address
Description copied from interface:RSocketServerReturn the address this server is listening on.- Specified by:
 addressin interfaceRSocketServer- Returns:
 - the address
 
 - 
start
Description copied from interface:RSocketServerStarts the RSocket server. Calling this method on an already started server has no effect.- Specified by:
 startin interfaceRSocketServer- Throws:
 RSocketServerException- if the server cannot be started
 - 
stop
Description copied from interface:RSocketServerStops the RSocket server. Calling this method on an already stopped server has no effect.- Specified by:
 stopin interfaceRSocketServer- Throws:
 RSocketServerException- if the server cannot be stopped
 
 -