Reliable SMR async
[lispflowmapping.git] / mappingservice / api / src / main / java / org / opendaylight / lispflowmapping / interfaces / lisp / IMapResolverAsync.java
index 97fbd1d1b6be38665d06a0da164d0d1f7d2d9198..798d811817008346c62dac8f849062bae5cd58e9 100644 (file)
@@ -7,11 +7,24 @@
  */
 package org.opendaylight.lispflowmapping.interfaces.lisp;
 
-import org.opendaylight.yang.gen.v1.lispflowmapping.rev131031.MapRequest;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.MapRequest;
 
 /**
- * The async map resolver interface for dealing with async map request calls.
+ * Map Resolver interface for dealing with async map request calls.
  */
-public interface IMapResolverAsync extends IGeneralMapResolver {
-    public void handleMapRequest(MapRequest request, IMapRequestResultHandler callback);
+public interface IMapResolverAsync extends IGenericMapResolver {
+    /**
+     * Handle Map-Request.
+     *
+     * @param request
+     *            The map-request message
+     */
+    void handleMapRequest(MapRequest request);
+
+    /**
+     * Set SMR message notification listener.
+     *
+     * @param listener The SMR notification listener
+     */
+    void setSmrNotificationListener(ISmrNotificationListener listener);
 }