Interface Responder

All Superinterfaces:
AutoCloseable

public interface Responder extends AutoCloseable
Responder class for request/response interaction.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Request processing context.
    static interface 
    Contract to process a request message and return a reply message.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close the responder and its resources.
    void
    Pause the server to stop receiving messages.
    void
    Request to receive messages again.
  • Method Details

    • pause

      void pause()
      Pause the server to stop receiving messages.

      Outstanding requests will still be processed.

    • unpause

      void unpause()
      Request to receive messages again.
    • close

      void close()
      Close the responder and its resources.
      Specified by:
      close in interface AutoCloseable