* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.netconf.sal.connect.api;
import java.util.Set;
import org.opendaylight.yangtools.yang.common.QName;
public interface NetconfDeviceSchemas {
-
+ // FIXME: document this method
Set<QName> getAvailableYangSchemasQNames();
}
* Factory for netconf device schemas.
*/
public interface NetconfDeviceSchemasResolver {
- NetconfDeviceSchemas resolve(
- NetconfDeviceRpc deviceRpc, NetconfSessionPreferences remoteSessionCapabilities, RemoteDeviceId id,
- EffectiveModelContext schemaContext);
+ // FIXME: document this method
+ NetconfDeviceSchemas resolve(NetconfDeviceRpc deviceRpc, NetconfSessionPreferences remoteSessionCapabilities,
+ RemoteDeviceId id, EffectiveModelContext schemaContext);
}
* Remote device.
*/
public interface RemoteDevice<PREF, LISTENER extends RemoteDeviceCommunicator> {
-
+ // FIXME: document this node
void onRemoteSessionUp(PREF remoteSessionCapabilities, LISTENER listener);
+ // FIXME: document this node
void onRemoteSessionDown();
+ // FIXME: document this node
void onRemoteSessionFailed(Throwable throwable);
+ // FIXME: document this node
void onNotification(NetconfMessage notification);
}
import org.opendaylight.yangtools.yang.common.RpcResult;
public interface RemoteDeviceCommunicator extends AutoCloseable {
-
+ // FIXME: document this node
ListenableFuture<RpcResult<NetconfMessage>> sendRequest(NetconfMessage message, QName rpc);
@Override
// DO NOTHING
}
+ // FIXME: document this node
void onDeviceDisconnected();
+ // FIXME: document this node
void onDeviceFailed(Throwable throwable);
+ // FIXME: document this node
void onNotification(DOMNotification domNotification);
@Override