c9b47ed54bb3b724d4d08a2c71250afd530dec1b
[controller.git] / opendaylight / md-sal / remoterpc-routingtable / implementation / src / main / java / org / opendaylight / controller / sal / connector / remoterpc / api / RouteChangeListener.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 package org.opendaylight.controller.sal.connector.remoterpc.api;
9
10 import java.util.EventListener;
11
12 public interface RouteChangeListener<I,R> extends EventListener {
13
14
15    void onRouteUpdated(I key, R new_value);
16
17    void onRouteDeleted(I key);
18 }