package org.opendaylight.controller.cluster.raft.base.messages;
-import java.io.Serializable;
+import org.opendaylight.controller.cluster.raft.Snapshot;
-public class SendInstallSnapshot implements Serializable {
+public class SendInstallSnapshot {
+ private final Snapshot snapshot;
+
+ public SendInstallSnapshot(Snapshot snapshot) {
+ this.snapshot = snapshot;
+ }
+
+ public Snapshot getSnapshot() {
+ return snapshot;
+ }
}