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 /** 11 * Methods to be implemented by a generic Map Resolver 12 */ 13 public interface IGenericMapResolver { 14 /** 15 * Configure MapResolver to use authentication 16 * 17 * @param shouldAuthenticate 18 * Authentication state 19 */ 20 void setShouldAuthenticate(boolean shouldAuthenticate); 21 22 /** 23 * Configure MapResolver to track mappings requesters 24 * 25 * @param smr 26 * Subscription service state 27 * 28 */ 29 void setSubscriptionService(boolean smr); 30 31 /** 32 * Configure how ELPs should be returned in Map-Replies 33 * 34 * @param elpPolicy 35 * ELP policy 36 */ 37 void setElpPolicy(String elpPolicy); 38 }