Package org.apache.openmeetings.db.dto.room

Examples of org.apache.openmeetings.db.dto.room.WhiteboardSyncLockObject


              object_id);

      log.debug("sendCompletedObjectSyncEvent syncListImage: "
          + syncListImage);

      WhiteboardSyncLockObject wSyncLockObject = syncListImage
          .get(currentClient.getPublicSID());

      if (wSyncLockObject == null) {
        log.error("WhiteboardSyncLockObject not found for this Client "
            + currentClient.getPublicSID());
View Full Code Here


        // Check Initial Loaders
        Map<String, WhiteboardSyncLockObject> syncListRoom = this.whiteBoardObjectListManager
            .getWhiteBoardSyncListByRoomid(room_id);

        WhiteboardSyncLockObject wSyncLockObject = syncListRoom
            .get(currentClient.getPublicSID());

        if (wSyncLockObject != null) {
          syncListRoom.remove(currentClient.getPublicSID());
        }
        this.whiteBoardObjectListManager.setWhiteBoardSyncListByRoomid(
            room_id, syncListRoom);

        int numberOfInitial = this
            .getNumberOfInitialLoaders(syncListRoom);

        log.debug("scope " + scope);

        if (numberOfInitial == 0 && scope != null) {
         
          scopeApplicationAdapter.syncMessageToCurrentScope("sendSyncCompleteFlag", wSyncLockObject, false);
         
        }

        // Check Image Loaders
        Map<String, Map<String, WhiteboardSyncLockObject>> syncListRoomImages = this.whiteBoardObjectListManager
            .getWhiteBoardObjectSyncListByRoomid(room_id);

        for (Iterator<String> iter = syncListRoomImages.keySet()
            .iterator(); iter.hasNext();) {
          String object_id = iter.next();
          Map<String, WhiteboardSyncLockObject> syncListImages = syncListRoomImages
              .get(object_id);
          WhiteboardSyncLockObject wImagesSyncLockObject = syncListImages
              .get(currentClient.getPublicSID());
          if (wImagesSyncLockObject != null) {
            syncListImages.remove(currentClient.getPublicSID());
          }
          this.whiteBoardObjectListManager
View Full Code Here

TOP

Related Classes of org.apache.openmeetings.db.dto.room.WhiteboardSyncLockObject

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.