Package com.caplin.motif.datasource
Class SubjectMessagePublisher<T extends SubjectInfo>
java.lang.Object
com.caplin.motif.datasource.SubjectMessagePublisher<T>
- Direct Known Subclasses:
FXQuotePublisher
,LiquidityInformationPublisher
,PrecisionInformationPublisher
,SingleValuePublisher
-
Constructor Summary
ConstructorDescriptionSubjectMessagePublisher
(com.caplin.datasource.publisher.CachingPublisher publisher, boolean useGenerics) -
Method Summary
Modifier and TypeMethodDescriptionvoid
publishMessage
(SubjectMessage<T> subjectMessage) void
publishMessage
(T subjectInfo, Message message) void
sendErrorEvent
(SubjectInfo subjectInfo, com.caplin.datasource.SubjectError subjectError) void
sendMapping
(SubjectInfo from, SubjectInfo to) void
sendMapping
(SubjectInfo from, String to) void
sendNotFound
(SubjectInfo info) void
sendNotStale
(SubjectInfo info) void
sendStale
(SubjectInfo info) void
sendStale
(SubjectInfo info, String message) void
sendSubjectStatusEvent
(SubjectInfo info, com.caplin.datasource.SubjectStatus subjectStatus, String message) void
sendSubscribeFail
(SubjectInfo info) void
sendSubscribeFail
(String subject)
-
Constructor Details
-
SubjectMessagePublisher
public SubjectMessagePublisher(com.caplin.datasource.publisher.CachingPublisher publisher, boolean useGenerics)
-
-
Method Details
-
publishMessage
-
publishMessage
-
sendSubscribeFail
-
sendSubscribeFail
-
sendStale
-
sendStale
-
sendNotStale
-
sendSubjectStatusEvent
public void sendSubjectStatusEvent(SubjectInfo info, com.caplin.datasource.SubjectStatus subjectStatus, String message) -
sendNotFound
-
sendMapping
-
sendMapping
-
sendErrorEvent
public void sendErrorEvent(SubjectInfo subjectInfo, com.caplin.datasource.SubjectError subjectError)
-