bigbluebutton-Github/bigbluebutton-html5/imports/api/presentation-pods/server/eventHandlers.js
2018-04-05 15:31:39 -07:00

11 lines
672 B
JavaScript

import RedisPubSub from '/imports/startup/server/redis';
import handleCreateNewPresentationPod from './handlers/createNewPresentationPod';
import handleRemovePresentationPod from './handlers/removePresentationPod';
import handleSyncGetPresentationPods from './handlers/syncGetPresentationPods';
import handleSetPresenterInPod from './handlers/setPresenterInPod';
RedisPubSub.on('CreateNewPresentationPodEvtMsg', handleCreateNewPresentationPod);
RedisPubSub.on('RemovePresentationPodEvtMsg', handleRemovePresentationPod);
RedisPubSub.on('SetPresenterInPodRespMsg', handleSetPresenterInPod);
RedisPubSub.on('SyncGetPresentationPodsRespMsg', handleSyncGetPresentationPods);