BUG 2185 : Introduce the SwitchBehavior message
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / behaviors / DelegatingRaftActorBehavior.java
index 64bdc4a504efd8f78f56bdb5debd3c1a2e251178..175e16f21b202aa23181cb7c34dd7ceb02dab700 100644 (file)
@@ -60,4 +60,9 @@ public class DelegatingRaftActorBehavior implements RaftActorBehavior {
     public short getLeaderPayloadVersion() {
         return delegate.getLeaderPayloadVersion();
     }
+
+    @Override
+    public RaftActorBehavior switchBehavior(RaftActorBehavior behavior) {
+        return delegate.switchBehavior(behavior);
+    }
 }