bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/annotations/server/eventHandlers.js

11 lines
608 B
JavaScript
Raw Normal View History

import RedisPubSub from '/imports/startup/server/redis2x';
import handleWhiteboardCleared from './handlers/whiteboardCleared';
import handleWhiteboardUndo from './handlers/whiteboardUndo';
2017-06-23 01:24:00 +08:00
import handleWhiteboardSend from './handlers/whiteboardSend';
2017-07-28 09:21:02 +08:00
import handleWhiteboardAnnotations from './handlers/whiteboardAnnotations';
RedisPubSub.on('ClearWhiteboardEvtMsg', handleWhiteboardCleared);
RedisPubSub.on('UndoWhiteboardEvtMsg', handleWhiteboardUndo);
2017-06-23 01:24:00 +08:00
RedisPubSub.on('SendWhiteboardAnnotationEvtMsg', handleWhiteboardSend);
2017-07-28 09:21:02 +08:00
RedisPubSub.on('GetWhiteboardAnnotationsRespMsg', handleWhiteboardAnnotations);