Interface RSocketServer
- All Known Implementing Classes:
NettyRSocketServer
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Choice of transport protocol for the RSocket server. -
Method Summary
Modifier and TypeMethodDescription@Nullable InetSocketAddress
address()
Return the address this server is listening on.void
start()
Starts the RSocket server.void
stop()
Stops the RSocket server.
-
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
@Nullable InetSocketAddress address()Return the address this server is listening on.- Returns:
- the address
-