Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.ui.eventhandler.NegotiationHandler Class Reference
Inheritance diagram for de.fu_berlin.inf.dpp.ui.eventhandler.NegotiationHandler:
de.fu_berlin.inf.dpp.project.INegotiationHandler

List of all members.

Classes

class  OutgoingInvitationJob
class  OutgoingProjectJob

Public Member Functions

 NegotiationHandler (SarosSessionManager sessionManager, XMPPConnectionService connectionService)
void handleOutgoingSessionNegotiation (OutgoingSessionNegotiation negotiation)
void handleIncomingSessionNegotiation (IncomingSessionNegotiation negotiation)
void handleOutgoingProjectNegotiation (OutgoingProjectNegotiation negotiation)
void handleIncomingProjectNegotiation (IncomingProjectNegotiation negotiation)

Detailed Description

This handler is responsible for presenting and running the session and project negotiations that are received by the Saros Session Manager component.

Author:
srossbach

Constructor & Destructor Documentation

de.fu_berlin.inf.dpp.ui.eventhandler.NegotiationHandler.NegotiationHandler ( SarosSessionManager  sessionManager,
XMPPConnectionService  connectionService 
)

Member Function Documentation

void de.fu_berlin.inf.dpp.ui.eventhandler.NegotiationHandler.handleIncomingProjectNegotiation ( IncomingProjectNegotiation  negotiation)

Called when a remote project from a remote session user should be synchronized with a local project.

Parameters:
negotiationthe negotiation process to handle the project synchronization

Implements de.fu_berlin.inf.dpp.project.INegotiationHandler.

void de.fu_berlin.inf.dpp.ui.eventhandler.NegotiationHandler.handleIncomingSessionNegotiation ( IncomingSessionNegotiation  negotiation)

Called when an invitation to a session is received from a contact.

Parameters:
negotiationthe negotiation process to handle the invitation

Implements de.fu_berlin.inf.dpp.project.INegotiationHandler.

void de.fu_berlin.inf.dpp.ui.eventhandler.NegotiationHandler.handleOutgoingProjectNegotiation ( OutgoingProjectNegotiation  negotiation)

Called when a local project should be synchronized with a remote session user.

Parameters:
negotiationthe negotiation process to handle the project synchronization

Implements de.fu_berlin.inf.dpp.project.INegotiationHandler.

void de.fu_berlin.inf.dpp.ui.eventhandler.NegotiationHandler.handleOutgoingSessionNegotiation ( OutgoingSessionNegotiation  negotiation)

Called when a session invitation is offered to a contact.

Parameters:
negotiationthe negotiation process to handle the invitation

Implements de.fu_berlin.inf.dpp.project.INegotiationHandler.

 All Classes Namespaces Files Functions Variables Enumerations