Prepare the YANG models for RESTCONF
[lispflowmapping.git] / mappingservice / api / src / main / java / org / opendaylight / lispflowmapping / interfaces / lisp / IMapServerAsync.java
1 /*
2  * Copyright (c) 2014 Contextream, 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.control.plane.rev150314.MapRegister;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lispaddress.LispAddressContainer;
12
13 /**
14  * The async map server interface for dealing with async map register calls.
15  */
16 public interface IMapServerAsync extends IGeneralMapServer {
17     public void handleMapRegister(MapRegister request, boolean smr, IMapNotifyHandler callback);
18     public void removeMapping(LispAddressContainer address, int maskLen, boolean smr, IMapNotifyHandler callback);
19
20 }