Interface ContextChainHolder
- All Superinterfaces:
- AutoCloseable,- ContextChainMastershipWatcher,- DeviceConnectedHandler,- DeviceDisconnectedHandler,- DeviceRemovedHandler,- org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListener
- 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 SummaryModifier and TypeMethodDescription<T extends OFPManager>
 voidaddManager(T manager) Managers need to be added before.voidclose()getContextChain(DeviceInfo deviceInfo) Return theContextChainfor a givenDeviceInfo.Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.lifecycle.ContextChainMastershipWatcheronMasterRoleAcquired, onNotAbleToStartMastership, onNotAbleToStartMastershipMandatory, onSlaveRoleAcquired, onSlaveRoleNotAcquiredMethods inherited from interface org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceConnectedHandlerdeviceConnectedMethods inherited from interface org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceDisconnectedHandleronDeviceDisconnectedMethods inherited from interface org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceRemovedHandleronDeviceRemovedMethods inherited from interface org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListenerownershipChanged
- 
Method Details- 
addManager- Type Parameters:
- T-- OFPManager
- Parameters:
- manager- a child class of- OFPManager
 
- 
getContextChainReturn theContextChainfor a givenDeviceInfo.- Returns:
- ContextChain
 
- 
closevoid close()- Specified by:
- closein interface- AutoCloseable
 
 
-