Interface RSocketServer
- All Known Implementing Classes:
NettyRSocketServer
public interface RSocketServer
Simple interface that represents a fully configured RSocket server. Allows the server
to be
started
and stopped
.- Since:
- 2.2.0
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Choice of transport protocol for the RSocket server. -
Method Summary
-
Method Details
-
start
Starts the RSocket server. Calling this method on an already started server has no effect.- Throws:
RSocketServerException
- if the server cannot be started
-
stop
Stops the RSocket server. Calling this method on an already stopped server has no effect.- Throws:
RSocketServerException
- if the server cannot be stopped
-
address
InetSocketAddress address()Return the address this server is listening on.- Returns:
- the address
-