BUG-5280: introduce request/response Envelope
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / concepts / Request.java
index d0d6324b135ee70b28c3effe630e77f585d3d769..08923688939821cdf0b519bc924fcf9b3a95ff07 100644 (file)
@@ -29,8 +29,8 @@ public abstract class Request<T extends WritableIdentifier, C extends Request<T,
     private static final long serialVersionUID = 1L;
     private final ActorRef replyTo;
 
-    protected Request(final @Nonnull T target, final long sequence, final long retry, final @Nonnull ActorRef replyTo) {
-        super(target, sequence, retry);
+    protected Request(final @Nonnull T target, final @Nonnull ActorRef replyTo) {
+        super(target);
         this.replyTo = Preconditions.checkNotNull(replyTo);
     }
 
@@ -39,11 +39,6 @@ public abstract class Request<T extends WritableIdentifier, C extends Request<T,
         this.replyTo = Preconditions.checkNotNull(request.getReplyTo());
     }
 
-    protected Request(final C request, final long retry) {
-        super(request, retry);
-        this.replyTo = Preconditions.checkNotNull(request.getReplyTo());
-    }
-
     /**
      * Return the return address where responses to this request should be directed to.
      *