Initial opendaylight infrastructure commit!!
[controller.git] / opendaylight / sal / yang-prototype / sal / sal-broker-impl / src / main / java / org / opendaylight / controller / sal / core / impl / ProviderSessionImpl.java
1
2 /*\r
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
4  *\r
5  * This program and the accompanying materials are made available under the\r
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
7  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
8  */\r
9 package org.opendaylight.controller.sal.core.impl;\r
10 \r
11 import java.util.Set;\r
12 \r
13 import org.opendaylight.controller.sal.core.api.Provider;\r
14 import org.opendaylight.controller.sal.core.api.RpcImplementation;\r
15 import org.opendaylight.controller.sal.core.api.Broker.ProviderSession;\r
16 import org.opendaylight.controller.yang.common.QName;
17 \r
18 \r
19 public class ProviderSessionImpl extends ConsumerSessionImpl implements\r
20         ProviderSession {\r
21 \r
22     private Provider provider;\r
23 \r
24     public ProviderSessionImpl(BrokerImpl broker, Provider provider) {\r
25         super(broker, null);\r
26         this.provider = provider;\r
27     }\r
28 \r
29     @Override\r
30     public void addRpcImplementation(QName rpcType,\r
31             RpcImplementation implementation) throws IllegalArgumentException {\r
32         // TODO Implement this method\r
33         throw new UnsupportedOperationException("Not implemented");\r
34     }\r
35 \r
36     @Override\r
37     public void removeRpcImplementation(QName rpcType,\r
38             RpcImplementation implementation) throws IllegalArgumentException {\r
39         // TODO Implement this method\r
40         throw new UnsupportedOperationException("Not implemented");\r
41     }\r
42 \r
43     public Provider getProvider() {\r
44         return this.provider;\r
45     }\r
46 \r
47 }\r
48