Madan Jampani | 890bc35 | 2014-10-01 22:35:29 -0700 | [diff] [blame] | 1 | package org.onlab.onos.store.cluster.messaging; |
| 2 | |
| 3 | import org.onlab.onos.cluster.ControllerNode; |
| 4 | import org.onlab.onos.store.cluster.impl.ClusterNodesDelegate; |
| 5 | |
Yuta HIGUCHI | 3f4c2b4 | 2014-10-06 16:53:56 -0700 | [diff] [blame] | 6 | // TODO: This service interface can be removed, once we properly start |
| 7 | // using ClusterService |
Madan Jampani | 890bc35 | 2014-10-01 22:35:29 -0700 | [diff] [blame] | 8 | /** |
| 9 | * Service for administering communications manager. |
| 10 | */ |
| 11 | public interface ClusterCommunicationAdminService { |
| 12 | |
| 13 | /** |
| 14 | * Initialize. |
| 15 | */ |
| 16 | void initialize(ControllerNode localNode, ClusterNodesDelegate nodesDelegate); |
| 17 | |
| 18 | /** |
| 19 | * Adds the node to the list of monitored nodes. |
| 20 | * |
| 21 | * @param node node to be added |
| 22 | */ |
| 23 | void addNode(ControllerNode node); |
| 24 | |
| 25 | /** |
| 26 | * Removes the node from the list of monitored nodes. |
| 27 | * |
| 28 | * @param node node to be removed |
| 29 | */ |
| 30 | void removeNode(ControllerNode node); |
| 31 | } |