Interface ITimeout

All Known Implementing Classes:
ReceivePublicationTimeout

public interface ITimeout
The Interface ITimeout. Instances of type ITimeout can be hand over to a TimeoutWrapper which takes responsibility of timing stuff. If time runs out TimeoutWrapper informs ITimeout by calling timeout() method.
Author:
JTraber
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the timeout.
    void
    Timeout.
  • Method Details

    • timeout

      void timeout()
      Timeout. Runs when time is out.
    • getTimeoutMillis

      int getTimeoutMillis()
      Gets the timeout.
      Returns:
      the timeout