Package de.fu_berlin.inf.dpp.invitation

Examples of de.fu_berlin.inf.dpp.invitation.ProjectNegotiation


        addings++;
        log.info("This is ProjectNegotiation number " + addings
            + " in this session. There are " + processes.size()
            + " process(es) in this session");

        ProjectNegotiation oldProcess = this.processes.put(process.getPeer(),
            process);
        if (oldProcess != null) {
            log.error(
                "An internal error occurred:"
                    + " An existing ProjectNegotiation process with "
                    + Utils.prefix(oldProcess.getPeer())
                    + " was replaced by a new one", new StackTrace());
        }
    }
View Full Code Here


    @Override
    public void invitationCanceledReceived(JID sender, String errorMsg) {
        InvitationProcess invitationProcess = invitationProcesses
            .getInvitationProcess(sender);
        ProjectNegotiation projectExchange = projectExchangeProcesses
            .getProjectExchangeProcess(sender);
        if (invitationProcess != null) {
            log.debug("Inv" + Utils.prefix(sender)
                + ": Received invitation cancel message");
            invitationProcess.remoteCancel(errorMsg);
        } else if (projectExchange != null) {
            projectExchange.remoteCancel(errorMsg);
        } else {
            log.warn("Inv[unkown buddy]: Received invitation cancel message for unknown invitation process. Ignoring...");
        }
    }
View Full Code Here

        receiver.addPacketListener(this, getFilter());
    }

    @Override
    public void projectSharingCanceledReceived(JID sender, String errorMsg) {
        ProjectNegotiation process = invitationProcesses
            .getProjectExchangeProcess(sender);
        if (process != null) {
            log.debug("Inv" + Utils.prefix(sender)
                + ": Received invitation cancel message");
            process.remoteCancel(errorMsg);
        } else {
            log.warn("Inv[unkown user]: Received invitation cancel message");
        }
    }
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.invitation.ProjectNegotiation

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.