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)
IMapResolverAsync
handleMapRequest
in interface IMapResolverAsync
request
- The map-request messagepublic void setSubscriptionService(boolean smr)
IGenericMapResolver
setSubscriptionService
in interface IGenericMapResolver
smr
- Subscription service statepublic void setElpPolicy(String elpPolicy)
IGenericMapResolver
setElpPolicy
in interface IGenericMapResolver
elpPolicy
- ELP policypublic void setShouldAuthenticate(boolean shouldAuthenticate)
IGenericMapResolver
setShouldAuthenticate
in interface IGenericMapResolver
shouldAuthenticate
- Authentication statepublic void setSmrNotificationListener(ISmrNotificationListener smrNotificationListener)
IMapResolverAsync
setSmrNotificationListener
in interface IMapResolverAsync
smrNotificationListener
- The SMR notification listenerCopyright © 2019 OpenDaylight. All rights reserved.