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 Server
12 */
13 public interface IGenericMapServer {
14
15 /**
16 * @return Should the Map Server use authentication.
17 */
18 boolean shouldAuthenticate();
19
20 /**
21 * Configure Map server to use authentication
22 *
23 * @param shouldAuthenticate
24 * Set authentication
25 */
26 void setShouldAuthenticate(boolean shouldAuthenticate);
27
28 /**
29 * Configure Map Server to notify mapping subscribers on mapping updates
30 *
31 * @param subscriptionService
32 * Set subscription service
33 */
34 void setSubscriptionService(boolean subscriptionService);
35 }