2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.controller.cluster.access.concepts;
10 final class RequestEnvelopeProxy extends AbstractEnvelopeProxy<Request<?, ?>> {
11 private static final long serialVersionUID = 1L;
13 // checkstyle flags the public modifier as redundant however it is explicitly needed for Java serialization to
14 // be able to create instances via reflection.
15 @SuppressWarnings("checkstyle:RedundantModifier")
16 public RequestEnvelopeProxy() {
20 RequestEnvelopeProxy(final RequestEnvelope envelope) {
25 RequestEnvelope createEnvelope(final Request<?, ?> message, final long sessionId, final long txSequence) {
26 return new RequestEnvelope(message, sessionId, txSequence);