Examples of sendActivity()


Examples of de.fu_berlin.inf.dpp.project.ISarosSession.sendActivity()

                recoverFile(checksumError.getSource(), sarosSession, path,
                    progress.newChild(1));
            }

            // Tell the user that we sent all files
            sarosSession.sendActivity(checksumError.getSource(),
                new ChecksumErrorActivity(sarosSession.getLocalUser(), null,
                    checksumError.getRecoveryID()));
        } finally {
            progress.done();
        }
View Full Code Here

Examples of de.fu_berlin.inf.dpp.project.ISarosSession.sendActivity()

                    if (ChangeColorManager.checkColor(selectedColor,
                        listOfUsers)) {
                        log.info(selectedColor + " was selected."); //$NON-NLS-1$
                        SarosAnnotation.setUserColor(localUser, selectedColor);
                        for (User user : listOfUsers) {
                            sarosSession.sendActivity(user,
                                new ChangeColorActivity(localUser, user,
                                    selectedColor));
                        }
                        editorManager.colorChanged();
                        editorManager.refreshAnnotations();
View Full Code Here

Examples of de.fu_berlin.inf.dpp.project.ISarosSession.sendActivity()

            remoteProgress.beginTask("Consistency recovery for buddy "
                + session.getLocalUser().getJID().getBase(),
                filesRemaining.get());

            session.sendActivity(session.getHost(), new ChecksumErrorActivity(
                session.getLocalUser(), pathsOfHandledFiles, recoveryID));

            try {
                // block until all inconsistencies are resolved
                int filesRemainingBefore = filesRemaining.get();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.