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
public class SubjectMessagePublisher<T extends SubjectInfo> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SubjectMessagePublisher(CachedPublisher publisher, boolean useGenerics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
publishMessage(SubjectMessage<T> subjectMessage)
void
publishMessage(T subjectInfo, Message message)
void
ratesUnavailable()
void
sendMapping(SubjectInfo from, SubjectInfo to)
void
sendMapping(SubjectInfo from, java.lang.String to)
void
sendNotFound(SubjectInfo info)
void
sendNotStale(SubjectInfo info)
void
sendStale(SubjectInfo info)
void
sendStale(SubjectInfo info, java.lang.String message)
void
sendSubjectStatusEvent(SubjectInfo info, com.caplin.datasource.SubjectStatus subjectStatus, java.lang.String message)
void
sendSubscribeFail(SubjectInfo info)
void
sendSubscribeFail(java.lang.String subject)
-
-
-
Constructor Detail
-
SubjectMessagePublisher
public SubjectMessagePublisher(CachedPublisher publisher, boolean useGenerics)
-
-
Method Detail
-
publishMessage
public void publishMessage(SubjectMessage<T> subjectMessage)
-
sendSubscribeFail
public void sendSubscribeFail(SubjectInfo info)
-
sendSubscribeFail
public void sendSubscribeFail(java.lang.String subject)
-
sendStale
public void sendStale(SubjectInfo info)
-
sendStale
public void sendStale(SubjectInfo info, java.lang.String message)
-
sendNotStale
public void sendNotStale(SubjectInfo info)
-
sendSubjectStatusEvent
public void sendSubjectStatusEvent(SubjectInfo info, com.caplin.datasource.SubjectStatus subjectStatus, java.lang.String message)
-
sendNotFound
public void sendNotFound(SubjectInfo info)
-
sendMapping
public void sendMapping(SubjectInfo from, SubjectInfo to)
-
sendMapping
public void sendMapping(SubjectInfo from, java.lang.String to)
-
ratesUnavailable
public void ratesUnavailable()
-
-