Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/internal/net4j/protocol/BranchNotificationRequest.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/internal/net4j/protocol/BranchNotificationRequest.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/internal/net4j/protocol/BranchNotificationRequest.java b/plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/internal/net4j/protocol/BranchNotificationRequest.java
index 2591c495ab..d3d888e3f8 100644
--- a/plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/internal/net4j/protocol/BranchNotificationRequest.java
+++ b/plugins/org.eclipse.emf.cdo.server.net4j/src/org/eclipse/emf/cdo/server/internal/net4j/protocol/BranchNotificationRequest.java
@@ -13,6 +13,7 @@
package org.eclipse.emf.cdo.server.internal.net4j.protocol;
import org.eclipse.emf.cdo.common.branch.CDOBranch;
+import org.eclipse.emf.cdo.common.branch.CDOBranchChangedEvent.ChangeKind;
import org.eclipse.emf.cdo.common.protocol.CDODataOutput;
import org.eclipse.emf.cdo.common.protocol.CDOProtocolConstants;
@@ -25,15 +26,19 @@ public class BranchNotificationRequest extends CDOServerRequest
{
private CDOBranch branch;
- public BranchNotificationRequest(CDOServerProtocol serverProtocol, CDOBranch branch)
+ private ChangeKind changeKind;
+
+ public BranchNotificationRequest(CDOServerProtocol serverProtocol, CDOBranch branch, ChangeKind changeKind)
{
super(serverProtocol, CDOProtocolConstants.SIGNAL_BRANCH_NOTIFICATION);
this.branch = branch;
+ this.changeKind = changeKind;
}
@Override
protected void requesting(CDODataOutput out) throws IOException
{
out.writeCDOBranch(branch);
+ out.writeEnum(changeKind);
}
}

Back to the top