Reliable SMR async
[lispflowmapping.git] / mappingservice / api / src / main / java / org / opendaylight / lispflowmapping / interfaces / lisp / ISmrNotificationListener.java
1 /*
2  * Copyright (c) 2016 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.lispflowmapping.interfaces.lisp;
9
10 import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.inet.binary.types.rev160303.IpAddressBinary;
11
12 /**
13  * This interface is used to notify of received SMR-invoked requests.
14  */
15 public interface ISmrNotificationListener {
16
17     /**
18      * This method is fired when a new smr-invoked request is received.
19      *
20      * @param event This object carries the nonce of a smr-invoked request and the subscriber's {@link IpAddressBinary}
21      *              that sent this request.
22      */
23     void onSmrInvokedReceived(SmrEvent event);
24 }