diff --git a/src/main/java/net/floodlightcontroller/core/IReadyForReconcileListener.java b/src/main/java/net/floodlightcontroller/core/IReadyForReconcileListener.java new file mode 100644 index 0000000000000000000000000000000000000000..296347551e1d31ef02487ffd4760b66f9cbb99ca --- /dev/null +++ b/src/main/java/net/floodlightcontroller/core/IReadyForReconcileListener.java @@ -0,0 +1,17 @@ +package net.floodlightcontroller.core; + +/** + * This listener is a temporary solution to start flow reconciliation + * after a Slave -> Master transition. It is fired once all known switches are + * active (either because they all reconnected or because they did not + * reconnect and have timed out). + * + * Modules should generally not rely on this notification unless there are + * strong and compelling reasons to do so. I general modules should handle + * the fact that some known switches are not active! + * @author gregor + * + */ +public interface IReadyForReconcileListener { + public void readyForReconcile(); +}