Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.negotiation.OutgoingProjectNegotiation Class Reference
Inheritance diagram for de.fu_berlin.inf.dpp.negotiation.OutgoingProjectNegotiation:
de.fu_berlin.inf.dpp.negotiation.ProjectNegotiation de.fu_berlin.inf.dpp.negotiation.CancelableProcess

List of all members.

Public Member Functions

 OutgoingProjectNegotiation (JID to, ISarosSession session, List< IProject > projects, ISarosContext sarosContext)
Status run (IProgressMonitor monitor)
Map< String, String > getProjectNames ()
String toString ()

Protected Member Functions

void executeCancellation ()

Constructor & Destructor Documentation

de.fu_berlin.inf.dpp.negotiation.OutgoingProjectNegotiation.OutgoingProjectNegotiation ( JID  to,
ISarosSession  session,
List< IProject projects,
ISarosContext  sarosContext 
)

Member Function Documentation

void de.fu_berlin.inf.dpp.negotiation.OutgoingProjectNegotiation.executeCancellation ( ) [protected, virtual]

This method is called after terminateProcess decides to perform a cleanup because the execution of the process was canceled. Implementing classes should try a maximum effort to revert all the changes that were made before the process was aborted.

Implements de.fu_berlin.inf.dpp.negotiation.CancelableProcess.

Map<String, String> de.fu_berlin.inf.dpp.negotiation.OutgoingProjectNegotiation.getProjectNames ( ) [virtual]
Returns:
the names of the projects that are shared by the peer. projectID => projectName

Implements de.fu_berlin.inf.dpp.negotiation.ProjectNegotiation.

Status de.fu_berlin.inf.dpp.negotiation.OutgoingProjectNegotiation.run ( IProgressMonitor  monitor)
String de.fu_berlin.inf.dpp.negotiation.OutgoingProjectNegotiation.toString ( )
 All Classes Namespaces Files Functions Variables Enumerations