@Service public class AccessBorderRouterService extends AbstractAccessBorderRouterService
getSensorIpByBorderRouterIp() and
existBorderRouter(). Because of some technical reasons, we cannot
provide a complete implementation for now.AbstractAccessBorderRouterServiceborderRouterRepository, sensorRepository| Constructor | Description |
|---|---|
AccessBorderRouterService() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
existBorderRouter(java.lang.String borderRouterIp) |
Check if a border router IP is exist.
|
java.util.List<java.lang.String> |
getSensorIpByBorderRouterIp(java.lang.String borderRouterIp) |
Take as input a
String of borderRouterIp, return a list of
IPv6 address of sensors that are connected to the given border router. |
saveBorderRouter, saveSensorsForBorderRouterIppublic java.util.List<java.lang.String> getSensorIpByBorderRouterIp(java.lang.String borderRouterIp)
String of borderRouterIp, return a list of
IPv6 address of sensors that are connected to the given border router.
If the input borderRouterIp is inValid, return null instead.getSensorIpByBorderRouterIp in class AbstractAccessBorderRouterServiceborderRouterIp - The IPv6 address of border router you want to query.public boolean existBorderRouter(java.lang.String borderRouterIp)
existBorderRouter in class AbstractAccessBorderRouterServiceborderRouterIp - The IPv6 address of the border router you want to check.true for border router exists, false otherwise.