public class MapServer extends Object implements IMapServerAsync, OdlMappingserviceListener, ISmrNotificationListener
| Constructor and Description |
|---|
MapServer(IMappingService mapService,
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 |
onSmrInvokedReceived(SmrEvent event)
This method is fired when a new smr-invoked request is received.
|
void |
setSubscriptionService(boolean subscriptionService)
Configure Map Server to notify mapping subscribers on mapping updates.
|
public MapServer(IMappingService mapService, 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 void handleMapRegister(MapRegister mapRegister)
IMapServerAsynchandleMapRegister in interface IMapServerAsyncmapRegister - The map-register messagepublic void onMappingChanged(MappingChanged notification)
OdlMappingserviceListeneronMappingChanged in interface OdlMappingserviceListenerpublic void onSmrInvokedReceived(SmrEvent event)
ISmrNotificationListeneronSmrInvokedReceived in interface ISmrNotificationListenerevent - This object carries the nonce of a smr-invoked request and the subscriber's IpAddressBinary
that sent this request.Copyright © 2019 OpenDaylight. All rights reserved.