Package org.openmeetings.server.beans.messages

Examples of org.openmeetings.server.beans.messages.ScreenSharingMessage


        RoomClient rcl = roomClientList.get(iter.next());
       
        ServerSharingSessionBean serverSharingSessionBean = ServerSharingSessionList.getServerSharingSessionBeanByPublicSID(rcl.getPublicSID());
       
        if (serverSharingSessionBean != null) {
          ScreenSharingMessage screenSharingMessage = new ScreenSharingMessage();
          screenSharingMessage.setS(serverSharingSessionBean.getPublicSID());
          screenSharingMessage.setW(serverSharingSessionBean.getWidth());
         
          screenSharingMessage.setDeleted(serverSharingSessionBean.isDeleted());
         
          screenSharingMessage.setL(new LinkedList<ScreenSharingNewFrame>());
         
          for (ServerFrameBean serverFrameBean : serverSharingSessionBean.getServerFrameBeans()) {
           
            ScreenSharingNewFrame screenSharingNewFrame = new ScreenSharingNewFrame();
            screenSharingNewFrame.setX(serverFrameBean.getXValue());
            screenSharingNewFrame.setY(serverFrameBean.getYValue());
            screenSharingNewFrame.setH(serverFrameBean.getHeight());
            screenSharingNewFrame.setW(serverFrameBean.getWidth());
           
            screenSharingMessage.getL().add(screenSharingNewFrame);
           
          }
         
          screenSharingMessageList.add(screenSharingMessage);
        }
View Full Code Here


  public synchronized void sendScreenSharingMessage(ServerSharingSessionBean serverSharingSessionBean) {
    try {
     
      log.debug("sendScreenSharingMessage ");
     
      ScreenSharingMessage screenSharingMessage = new ScreenSharingMessage();
      screenSharingMessage.setS(serverSharingSessionBean.getPublicSID());
      screenSharingMessage.setW(serverSharingSessionBean.getWidth());
     
      screenSharingMessage.setDeleted(serverSharingSessionBean.isDeleted());
     
      screenSharingMessage.setL(new LinkedList<ScreenSharingNewFrame>());
     
      for (ServerFrameBean serverFrameBean : serverSharingSessionBean.getServerFrameBeans()) {
       
        ScreenSharingNewFrame screenSharingNewFrame = new ScreenSharingNewFrame();
        screenSharingNewFrame.setX(serverFrameBean.getXValue());
        screenSharingNewFrame.setY(serverFrameBean.getYValue());
        screenSharingNewFrame.setH(serverFrameBean.getHeight());
        screenSharingNewFrame.setW(serverFrameBean.getWidth());
       
        screenSharingMessage.getL().add(screenSharingNewFrame);
       
      }
     
     
      String publicSID = serverSharingSessionBean.getPublicSID();
View Full Code Here

TOP

Related Classes of org.openmeetings.server.beans.messages.ScreenSharingMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.