Package com.caplin.datasource.publisher
Interface DiscardEvent
-
public interface DiscardEvent
Event that is raised when a peer discards a subject. You do not need to implement
DiscardEvent
; instances ofDiscardEvent
are supplied through theYour
DataProvider
implementation must handle the receipt ofDiscardEvent
s through itsDataProvider.onDiscard(DiscardEvent)
method. The number of times the event is received depends on the type ofPublisher
that is being used; see the description ofDataProvider.onDiscard(DiscardEvent)
for details.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Peer
getPeer()
Gets thePeer
that is discarding the subject.String
getSubject()
Gets the subject that is being discarded.
-