package org.opendaylight.netconf.topology.singleton.api;
import org.opendaylight.netconf.sal.connect.api.RemoteDeviceHandler;
-import org.opendaylight.netconf.sal.connect.netconf.listener.NetconfSessionPreferences;
/**
* Provides API for connection ODL (master) with device.
*/
// FIXME: way more documentation is needed here
public interface RemoteDeviceConnector {
-
/**
* Create device communicator and open device connection.
*
* @throws NullPointerException if {@code deviceHandler} is null
*/
// FIXME: this should return a resource corresponding to the device connection
- void startRemoteDeviceConnection(RemoteDeviceHandler<NetconfSessionPreferences> deviceHandler);
+ void startRemoteDeviceConnection(RemoteDeviceHandler deviceHandler);
/**
* Stop device communicator.