tom | 1d416c5 | 2014-09-29 20:55:24 -0700 | [diff] [blame^] | 1 | package org.onlab.onos.store.cluster.impl; |
| 2 | |
| 3 | import org.onlab.onos.cluster.DefaultControllerNode; |
| 4 | |
| 5 | /** |
| 6 | * Simple back interface through which connection manager can interact with |
| 7 | * the cluster store. |
| 8 | */ |
| 9 | public interface ClusterNodesDelegate { |
| 10 | |
| 11 | /** |
| 12 | * Notifies about a new cluster node being detected. |
| 13 | * |
| 14 | * @param node newly detected cluster node |
| 15 | */ |
| 16 | void nodeDetected(DefaultControllerNode node); |
| 17 | |
| 18 | /** |
| 19 | * Notifies about cluster node going offline. |
| 20 | * |
| 21 | * @param node cluster node that vanished |
| 22 | */ |
| 23 | void nodeVanished(DefaultControllerNode node); |
| 24 | |
| 25 | } |