Interface ContextChainHolder
- All Superinterfaces:
AutoCloseable
,ContextChainMastershipWatcher
,DeviceConnectedHandler
,DeviceDisconnectedHandler
,DeviceRemovedHandler
,org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListener
,org.opendaylight.mdsal.eos.common.api.GenericEntityOwnershipListener<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,
org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange>
- All Known Implementing Classes:
ContextChainHolderImpl
public interface ContextChainHolder
extends DeviceConnectedHandler, ContextChainMastershipWatcher, DeviceDisconnectedHandler, DeviceRemovedHandler, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListener, AutoCloseable
Generic interface for context chain holder, hold all created context chains.
ContextChain
is context that suppose to hold old information about device such as
Each context is created right after device connect and hold information about particular part of device.- Since:
- 0.4.0 Carbon
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<T extends OFPManager>
voidaddManager
(T manager) Managers need to be added before.void
close()
getContextChain
(DeviceInfo deviceInfo) Return theContextChain
for a givenDeviceInfo
.Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.lifecycle.ContextChainMastershipWatcher
onMasterRoleAcquired, onNotAbleToStartMastership, onNotAbleToStartMastershipMandatory, onSlaveRoleAcquired, onSlaveRoleNotAcquired
Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceConnectedHandler
deviceConnected
Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceDisconnectedHandler
onDeviceDisconnected
Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceRemovedHandler
onDeviceRemoved
Methods inherited from interface org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListener
ownershipChanged
-
Method Details
-
addManager
- Type Parameters:
T
-OFPManager
- Parameters:
manager
- a child class ofOFPManager
-
getContextChain
Return theContextChain
for a givenDeviceInfo
.- Returns:
ContextChain
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
-