bigbluebutton-Github/bigbluebutton-html5/imports/api/presentation-pods/server/eventHandlers.js

11 lines
672 B
JavaScript
Raw Normal View History

import RedisPubSub from '/imports/startup/server/redis';
import handleCreateNewPresentationPod from './handlers/createNewPresentationPod';
import handleRemovePresentationPod from './handlers/removePresentationPod';
2018-04-06 06:31:39 +08:00
import handleSyncGetPresentationPods from './handlers/syncGetPresentationPods';
import handleSetPresenterInPod from './handlers/setPresenterInPod';
RedisPubSub.on('CreateNewPresentationPodEvtMsg', handleCreateNewPresentationPod);
RedisPubSub.on('RemovePresentationPodEvtMsg', handleRemovePresentationPod);
RedisPubSub.on('SetPresenterInPodRespMsg', handleSetPresenterInPod);
2018-04-06 06:31:39 +08:00
RedisPubSub.on('SyncGetPresentationPodsRespMsg', handleSyncGetPresentationPods);