2018-04-06 03:59:26 +08:00
|
|
|
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';
|
2018-04-06 03:59:26 +08:00
|
|
|
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);
|