public class DeviceOwnershipServiceImpl extends Object implements DeviceOwnershipService, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListener
Constructor and Description |
---|
DeviceOwnershipServiceImpl(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
isEntityOwned(String nodeId)
Method is used to check if the node is the entity owner of the switch.
|
void |
ownershipChanged(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange ownershipChange) |
void |
start() |
public DeviceOwnershipServiceImpl(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService)
public void start()
public void close()
public boolean isEntityOwned(String nodeId)
DeviceOwnershipService
isEntityOwned
in interface DeviceOwnershipService
public void ownershipChanged(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange ownershipChange)
ownershipChanged
in interface org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListener
ownershipChanged
in interface org.opendaylight.mdsal.eos.common.api.GenericEntityOwnershipListener<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange>
Copyright © 2019 OpenDaylight. All rights reserved.