Interface DiscardEvent

  • public interface DiscardEvent

    Event that is raised when a peer discards a subject. You do not need to implement DiscardEvent; instances of DiscardEvent are supplied through the


    Your DataProvider implementation must handle the receipt of DiscardEvents through its DataProvider.onDiscard(DiscardEvent) method. The number of times the event is received depends on the type of Publisher that is being used; see the description of DataProvider.onDiscard(DiscardEvent) for details.

    • Method Detail

      • getSubject

        java.lang.String getSubject()
        Gets the subject that is being discarded.
        The subject.
      • getPeer

        Peer getPeer()
        Gets the Peer that is discarding the subject.
        The peer.