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
Author:
Brian Clozel
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Choice of transport protocol for the RSocket server.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the address this server is listening on.
    void
    Starts the RSocket server.
    void
    Stops the RSocket server.
  • Method Details

    • start

      void start() throws RSocketServerException
      Starts the RSocket server. Calling this method on an already started server has no effect.
      Throws:
      RSocketServerException - if the server cannot be started
    • stop

      void stop() throws RSocketServerException
      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