Merge "Bug-835:Reserve ports should be logical ports"
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / ListenerRegistrationProxy.java
1 /*
2  * Copyright (c) 2014 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.cluster.datastore;
10
11 import org.opendaylight.yangtools.concepts.ListenerRegistration;
12
13 /**
14  * ListenerRegistrationProxy acts as a proxy for a ListenerRegistration that was done on a remote shard
15  *
16  * Registering a DataChangeListener on the Data Store creates a new instance of the ListenerRegistrationProxy
17  * The ListenerRegistrationProxy talks to a remote ListenerRegistration actor.
18  */
19 public class ListenerRegistrationProxy implements ListenerRegistration {
20     @Override
21     public Object getInstance() {
22         throw new UnsupportedOperationException("getInstance");
23     }
24
25     @Override
26     public void close() {
27         throw new UnsupportedOperationException("close");
28     }
29 }