xsql should pull junit directly
[controller.git] / opendaylight / netconf / netconf-mapping-api / src / main / java / org / opendaylight / controller / netconf / mapping / api / NetconfOperationService.java
1 /*
2  * Copyright (c) 2013 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.controller.netconf.mapping.api;
10
11 import java.util.Set;
12
13 /**
14  *
15  */
16 public interface NetconfOperationService extends AutoCloseable {
17
18     /**
19      * Get capabilities announced by server hello message.
20      */
21     Set<Capability> getCapabilities();
22
23     /**
24      * Get set of netconf operations that are handled by this service.
25      */
26     Set<NetconfOperation> getNetconfOperations();
27
28     /**
29      * Called when netconf session is destroyed.
30      */
31     @Override
32     void close();
33
34 }