public interface ContextChainHolder extends DeviceConnectedHandler, ContextChainMastershipWatcher, DeviceDisconnectedHandler, DeviceRemovedHandler, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListener, AutoCloseable
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.StatisticsContext,
RpcContext,
DeviceContext| Modifier and Type | Method and Description |
|---|---|
<T extends OFPManager> |
addManager(T manager)
Managers need to be added before.
|
void |
close() |
ContextChain |
getContextChain(DeviceInfo deviceInfo)
Return the
ContextChain for a given DeviceInfo. |
deviceConnectedonMasterRoleAcquired, onNotAbleToStartMastership, onNotAbleToStartMastershipMandatory, onSlaveRoleAcquired, onSlaveRoleNotAcquiredonDeviceDisconnectedonDeviceRemoved<T extends OFPManager> void addManager(T manager)
T - OFPManagermanager - a child class of OFPManagerContextChain getContextChain(DeviceInfo deviceInfo)
ContextChain for a given DeviceInfo.ContextChainvoid close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2019 OpenDaylight. All rights reserved.