Package com.caplin.streamlink
Interface Publisher
- All Known Subinterfaces:
JsonPublisher
,RecordPublisher
public interface Publisher
An object that can send messages for a subject that StreamLink is providing
-
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
-