Interface Server

All Known Implementing Classes:
AbstractServer, NettyServer

@ThreadSafe
public interface Server
Represents an I/O server.
  • Method Summary

    Modifier and Type Method Description
    CompletionStage<Void> start()
    Enables the Server to perform I/O operations until stop() is invoked or until an implementation decided to cease all operations.
    void stop()
    Disables the Server so it does not perform I/O and any other operations anymore if the Server was started, otherwise does nothing.