Class JsonMessagePublisher<T extends SubjectInfo,​E>


  • public class JsonMessagePublisher<T extends SubjectInfo,​E>
    extends java.lang.Object
    • Constructor Detail

      • JsonMessagePublisher

        public JsonMessagePublisher​(com.caplin.datasource.publisher.CachingPublisher publisher)
    • Method Detail

      • publishMessage

        public void publishMessage​(T subjectInfo,
                                   E message)
      • sendSubscribeFail

        public void sendSubscribeFail​(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)
      • sendErrorEvent

        public void sendErrorEvent​(SubjectInfo subjectInfo,
                                   com.caplin.datasource.SubjectError subjectError)