// 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