NettyRSocketServerFactory

RSocketServerFactory that can be used to create RSocketServers backed by Netty.

Author

Brian Clozel

Chris Bono

Scott Frederick

Since

2.2.0

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun addRSocketServerCustomizers(rSocketServerCustomizers: Array<RSocketServerCustomizer>)
Add RSocketServerCustomizers that should be called to configure the io.rsocket.core.RSocketServer.
Link copied to clipboard
open fun create(socketAcceptor: SocketAcceptor): NettyRSocketServer
Gets a new fully configured but paused RSocketServer instance.
Link copied to clipboard
open fun setAddress(address: InetAddress)
Set the specific network address that the server should bind to.
Link copied to clipboard
open fun setFragmentSize(fragmentSize: DataSize)
Specify the maximum transmission unit.
Link copied to clipboard
open fun setLifecycleTimeout(lifecycleTimeout: Duration)
Set the maximum amount of time that should be waited when starting or stopping the server.
Link copied to clipboard
open fun setPort(port: Int)
Set the port that the server should listen on.
Link copied to clipboard
open fun setResourceFactory(resourceFactory: ReactorResourceFactory)
Set the ReactorResourceFactory to get the shared resources from.
Link copied to clipboard
open fun setRSocketServerCustomizers(rSocketServerCustomizers: Collection<out RSocketServerCustomizer>)
Set RSocketServerCustomizers that should be called to configure the io.rsocket.core.RSocketServer while building the server.
Link copied to clipboard
open fun setSsl(ssl: Ssl)
Sets the SSL configuration that will be applied to the server's default connector.
Link copied to clipboard
open fun setSslBundles(sslBundles: SslBundles)
Sets an SSL bundle that can be used to get SSL configuration.
Link copied to clipboard
Set the transport that the RSocket server should use.