public class MapResolver extends Object implements IMapResolverAsync
| Constructor and Description |
|---|
MapResolver(IMappingService mapService,
boolean smr,
String elpPolicy,
IMapRequestResultHandler requestHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleMapRequest(MapRequest request)
Handle Map-Request.
|
void |
setElpPolicy(String elpPolicy)
Configure how ELPs should be returned in Map-Replies.
|
void |
setShouldAuthenticate(boolean shouldAuthenticate)
Configure MapResolver to use authentication.
|
void |
setSmrNotificationListener(ISmrNotificationListener smrNotificationListener)
Set SMR message notification listener.
|
void |
setSubscriptionService(boolean smr)
Configure MapResolver to track mappings requesters.
|
public MapResolver(IMappingService mapService, boolean smr, String elpPolicy, IMapRequestResultHandler requestHandler)
public void handleMapRequest(MapRequest request)
IMapResolverAsynchandleMapRequest in interface IMapResolverAsyncrequest - The map-request messagepublic void setSubscriptionService(boolean smr)
IGenericMapResolversetSubscriptionService in interface IGenericMapResolversmr - Subscription service statepublic void setElpPolicy(String elpPolicy)
IGenericMapResolversetElpPolicy in interface IGenericMapResolverelpPolicy - ELP policypublic void setShouldAuthenticate(boolean shouldAuthenticate)
IGenericMapResolversetShouldAuthenticate in interface IGenericMapResolvershouldAuthenticate - Authentication statepublic void setSmrNotificationListener(ISmrNotificationListener smrNotificationListener)
IMapResolverAsyncsetSmrNotificationListener in interface IMapResolverAsyncsmrNotificationListener - The SMR notification listenerCopyright © 2019 OpenDaylight. All rights reserved.