Bug 6714 - Use singleton service in clustered netconf topology
[netconf.git] / netconf / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / api / RemoteDeviceConnector.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.netconf.topology.singleton.api;
10
11 import akka.actor.ActorRef;
12
13 /**
14  * Provides API for connection odl (master) with device
15  */
16 public interface RemoteDeviceConnector {
17
18     /**
19      * Create device communicator and open device connection
20      * @param masterActorRef master actor reference
21      */
22     void startRemoteDeviceConnection(ActorRef masterActorRef);
23
24     /**
25      * Stop device communicator
26      */
27     void stopRemoteDeviceConnection();
28 }