blob: 0bc31fa3943891388022b56b57b966136849a7ac [file] [log] [blame]
Madan Jampani890bc352014-10-01 22:35:29 -07001package org.onlab.onos.store.cluster.messaging;
2
3import org.onlab.onos.cluster.ControllerNode;
4import org.onlab.onos.store.cluster.impl.ClusterNodesDelegate;
5
Yuta HIGUCHI3f4c2b42014-10-06 16:53:56 -07006// TODO: This service interface can be removed, once we properly start
7// using ClusterService
Madan Jampani890bc352014-10-01 22:35:29 -07008/**
9 * Service for administering communications manager.
10 */
11public 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}