Interface ConfigurableRSocketServerFactory
- All Known Implementing Classes:
- NettyRSocketServerFactory
public interface ConfigurableRSocketServerFactory
A configurable 
RSocketServerFactory.- Since:
- 2.2.0
- Author:
- Brian Clozel, Scott Frederick
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetAddress(InetAddress address) Set the specific network address that the server should bind to.voidsetFragmentSize(DataSize fragmentSize) Specify the maximum transmission unit.voidsetPort(int port) Set the port that the server should listen on.voidSets the SSL configuration that will be applied to the server's default connector.voidsetSslBundles(SslBundles sslBundles) Sets an SSL bundle that can be used to get SSL configuration.voidsetSslStoreProvider(SslStoreProvider sslStoreProvider) Deprecated, for removal: This API element is subject to removal in a future version.voidsetTransport(RSocketServer.Transport transport) Set the transport that the RSocket server should use.
- 
Method Details- 
setPortvoid setPort(int port) Set the port that the server should listen on. If not specified port '9898' will be used.- Parameters:
- port- the port to set
 
- 
setFragmentSizeSpecify the maximum transmission unit. Frames larger than the specifiedfragmentSizeare fragmented.- Parameters:
- fragmentSize- the fragment size
- Since:
- 2.4.0
 
- 
setAddressSet the specific network address that the server should bind to.- Parameters:
- address- the address to set (defaults to- null)
 
- 
setTransportSet the transport that the RSocket server should use.- Parameters:
- transport- the transport protocol to use
 
- 
setSslSets the SSL configuration that will be applied to the server's default connector.- Parameters:
- ssl- the SSL configuration
 
- 
setSslStoreProvider@Deprecated(since="3.1.0", forRemoval=true) void setSslStoreProvider(SslStoreProvider sslStoreProvider) Deprecated, for removal: This API element is subject to removal in a future version.since 3.1.0 for removal in 3.3.0 in favor ofsetSslBundles(SslBundles)Sets a provider that will be used to obtain SSL stores.- Parameters:
- sslStoreProvider- the SSL store provider
 
- 
setSslBundlesSets an SSL bundle that can be used to get SSL configuration.- Parameters:
- sslBundles- the SSL bundles
- Since:
- 3.1.0
 
 
- 
setSslBundles(SslBundles)