More cds-access-api cleanup
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / concepts / FailureEnvelope.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.cluster.access.concepts;
9
10 import java.io.Serial;
11
12 public final class FailureEnvelope extends ResponseEnvelope<RequestFailure<?, ?>> {
13     @Serial
14     private static final long serialVersionUID = 1L;
15
16     public FailureEnvelope(final RequestFailure<?, ?> message, final long sessionId, final long txSequence,
17             final long executionTimeNanos) {
18         super(message, sessionId, txSequence, executionTimeNanos);
19     }
20
21     @Override
22     FailureEnvelopeProxy createProxy() {
23         return new FailureEnvelopeProxy(this);
24     }
25 }