Package com.bytedesk.core.config
Class BytedeskEventPublisher
java.lang.Object
com.bytedesk.core.config.BytedeskEventPublisher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.springframework.context.ApplicationEventPublisher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
publishEvent
(Object event) void
publishMessageCreateEvent
(MessageEntity message) void
void
publishMessageUpdateEvent
(MessageEntity message) void
publishMqttConnectedEvent
(String clientId) void
publishMqttDisconnectedEvent
(String clientId) void
publishMqttSubscribeEvent
(String topic, String clientId) void
publishMqttUnsubscribeEvent
(String topic, String clientId) void
publishOrganizationCreateEvent
(OrganizationEntity organization) void
void
void
void
void
void
void
void
publishStompConnectedEvent
(String clientId) void
publishStompDisconnectedEvent
(String clientId) void
publishStompSubscribeEvent
(String topic, String clientId) void
publishStompUnsubscribeEvent
(String topic, String clientId) void
publishThreadCreateEvent
(ThreadEntity thread) void
publishThreadUpdateEvent
(ThreadEntity thread) void
publishTopicCreateEvent
(String topic, String userUid) void
publishTopicUpdateEvent
(String topic, String userUid) void
void
-
Field Details
-
applicationEventPublisher
private final org.springframework.context.ApplicationEventPublisher applicationEventPublisher
-
-
Constructor Details
-
BytedeskEventPublisher
public BytedeskEventPublisher()
-
-
Method Details
-
publishTopicCreateEvent
-
publishTopicUpdateEvent
-
publishUserCreateEvent
-
publishUserUpdateEvent
-
publishMessageJsonEvent
-
publishMessageCreateEvent
-
publishMessageUpdateEvent
-
publishQuartzDay8Event
public void publishQuartzDay8Event() -
publishQuartzDay0Event
public void publishQuartzDay0Event() -
publishQuartzHourlyEvent
public void publishQuartzHourlyEvent() -
publishQuartzHalfHourEvent
public void publishQuartzHalfHourEvent() -
publishQuartzFiveSecondEvent
public void publishQuartzFiveSecondEvent() -
publishQuartzFiveMinEvent
public void publishQuartzFiveMinEvent() -
publishQuartzOneMinEvent
public void publishQuartzOneMinEvent() -
publishMqttConnectedEvent
-
publishMqttDisconnectedEvent
-
publishMqttSubscribeEvent
-
publishMqttUnsubscribeEvent
-
publishStompConnectedEvent
-
publishStompDisconnectedEvent
-
publishStompSubscribeEvent
-
publishStompUnsubscribeEvent
-
publishThreadCreateEvent
-
publishThreadUpdateEvent
-
publishOrganizationCreateEvent
-
publishEvent
-