Interface ServerOutput

All Known Subinterfaces:
ServerTransport
All Known Implementing Classes:
AtomixServerTransport

public interface ServerOutput
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sends the given response.
  • Method Details

    • sendResponse

      void sendResponse(ServerResponse response)
      Sends the given response. The corresponding partition and request id is extracted from the response object.

      This method should decouple the the request handling, such that response sending can be done later asynchronously.

      Parameters:
      response - the response which should be send