Move sal-netconf-connector to plugins/
[netconf.git] / plugins / sal-netconf-connector / src / main / java / org / opendaylight / netconf / sal / connect / api / DeviceActionFactory.java
1 /*
2  * Copyright (c) 2018 Pantheon Technologies s.r.o. 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 package org.opendaylight.netconf.sal.connect.api;
9
10 import org.eclipse.jdt.annotation.NonNull;
11 import org.opendaylight.netconf.sal.connect.api.RemoteDeviceServices.Actions;
12
13 public interface DeviceActionFactory {
14     /**
15      * Allows user to create DOMActionService for specific device.
16      *
17      * @param messageTransformer - message transformer (for action in this case)
18      * @param listener - allows specific service to send and receive messages to/from device
19      * @return {@link Actions} of specific device
20      */
21     @NonNull Actions createDeviceAction(ActionTransformer messageTransformer, RemoteDeviceCommunicator listener);
22 }
23