Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 260908 - Provide basic collaboration capabilities for all sessions of a repository
Summary: Provide basic collaboration capabilities for all sessions of a repository
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: SR1   Edit
Assignee: Eike Stepper CLA
QA Contact:
URL:
Whiteboard: Power to the People
Keywords:
Depends on: 283913
Blocks: 283689
  Show dependency tree
 
Reported: 2009-01-13 14:04 EST by Eike Stepper CLA
Modified: 2010-06-29 09:21 EDT (History)
0 users

See Also:
stepper: galileo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2009-01-13 14:04:15 EST
public interface CDORemoteSessionManager extends IContainer<CDORemoteSession>
{
  public CDOSession getLocalSession();

  public CDORemoteSession[] getRemoteSessions();

  public boolean isSubscribed();

  public boolean isForceSubscription();

  public void setForceSubscription(boolean forceSubscription);
}

public interface CDORemoteSession extends Comparable<CDORemoteSession>
{
  public CDORemoteSessionManager getManager();

  public int getSessionID();

  public String getUserID();

  public boolean isSubscribed();
}

public interface CDORemoteSessionEvent extends CDOEvent
{
  public CDORemoteSession getRemoteSession();

  public interface SubscriptionChanged extends CDORemoteSessionEvent
  {
    public boolean isSubscribed();
  }

  public interface CustomData extends CDORemoteSessionEvent
  {
    public byte[] getData();
  }
}
Comment 1 Eike Stepper CLA 2009-01-13 14:11:10 EST
Committed to HEAD.
Tests outstanding ;-(
Comment 2 Eike Stepper CLA 2009-07-15 13:08:32 EDT
Tests available in org.eclipse.emf.cdo.tests.RemoteSessionManagerTest

Committed to HEAD.