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 . |
deviceConnected
onMasterRoleAcquired, onNotAbleToStartMastership, onNotAbleToStartMastershipMandatory, onSlaveRoleAcquired, onSlaveRoleNotAcquired
onDeviceDisconnected
onDeviceRemoved
<T extends OFPManager> void addManager(T manager)
T
- OFPManager
manager
- a child class of OFPManager
ContextChain getContextChain(DeviceInfo deviceInfo)
ContextChain
for a given DeviceInfo
.ContextChain
void close()
close
in interface AutoCloseable
Copyright © 2020 OpenDaylight. All rights reserved.