Package de.fu_berlin.inf.dpp.concurrent.jupiter.internal

Examples of de.fu_berlin.inf.dpp.concurrent.jupiter.internal.JupiterDocumentServer


    /**
     * @host
     */
    protected synchronized JupiterDocumentServer getServer(SPath path) {

        JupiterDocumentServer docServer = this.concurrentDocuments.get(path);

        if (docServer == null) {
            // Create new document server
            docServer = new JupiterDocumentServer(path);

            // Create new local host document client
            docServer.addProxyClient(sarosSession.getHost().getJID());

            /** Add all users with {@link User.Permission#WRITE_ACCESS} */
            for (User userWithWriteAccess : sarosSession.getUsersWithWriteAccess()) {
                docServer.addProxyClient(userWithWriteAccess.getJID());
            }

            this.concurrentDocuments.put(path, docServer);
        }
        return docServer;
View Full Code Here


    }

    public synchronized Map<JID, JupiterActivity> transform(
        JupiterActivity jupiterActivity) throws TransformationException {

        JupiterDocumentServer docServer = getServer(jupiterActivity.getPath());

        return docServer.transformJupiterActivity(jupiterActivity);
    }
View Full Code Here

    public synchronized Map<JID, ChecksumActivity> withTimestamp(
        ChecksumActivity checksumActivityDataObject)
        throws TransformationException {

        JupiterDocumentServer docServer = getServer(checksumActivityDataObject
            .getPath());

        return docServer.withTimestamp(checksumActivityDataObject);
    }
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.concurrent.jupiter.internal.JupiterDocumentServer

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.