public class MapServer extends Object implements IMapServerAsync, OdlMappingserviceListener
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
MapServer(IMappingService mapService,
boolean authenticate,
boolean subscriptionService,
IMapNotifyHandler notifyHandler,
org.opendaylight.controller.md.sal.binding.api.NotificationService notificationService) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleMapRegister(MapRegister mapRegister)
Handle map-register message
|
void |
onMappingChanged(MappingChanged notification)
Notification sent when a mapping is changed
|
void |
setShouldAuthenticate(boolean shouldAuthenticate)
Configure Map server to use authentication
|
void |
setSubscriptionService(boolean subscriptionService)
Configure Map Server to notify mapping subscribers on mapping updates
|
boolean |
shouldAuthenticate() |
public MapServer(IMappingService mapService, boolean authenticate, boolean subscriptionService, IMapNotifyHandler notifyHandler, org.opendaylight.controller.md.sal.binding.api.NotificationService notificationService)
public void setSubscriptionService(boolean subscriptionService)
IGenericMapServersetSubscriptionService in interface IGenericMapServersubscriptionService - Set subscription servicepublic boolean shouldAuthenticate()
shouldAuthenticate in interface IGenericMapServerpublic void setShouldAuthenticate(boolean shouldAuthenticate)
IGenericMapServersetShouldAuthenticate in interface IGenericMapServershouldAuthenticate - Set authenticationpublic void handleMapRegister(MapRegister mapRegister)
IMapServerAsynchandleMapRegister in interface IMapServerAsyncmapRegister - The map-register messagepublic void onMappingChanged(MappingChanged notification)
OdlMappingserviceListeneronMappingChanged in interface OdlMappingserviceListenerCopyright © 2017 OpenDaylight. All rights reserved.