Interface Publisher

All Known Subinterfaces:
JsonPublisher, RecordPublisher

public interface Publisher
An object that can send messages for a subject that StreamLink is providing
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes this subscription
    The subject that was requested
    boolean
    Indicates whether this publisher has been closed
    boolean
    Indicates whether this subjet has been discard by the liberator
  • Method Details

    • getSubject

      String getSubject()
      The subject that was requested
      Returns:
      the subject
    • close

      void close()
      Closes this subscription
    • isClosed

      boolean isClosed()
      Indicates whether this publisher has been closed
      Returns:
      true if closed
    • isDiscarded

      boolean isDiscarded()
      Indicates whether this subjet has been discard by the liberator
      Returns:
      true if discarded