Interface FlowCapableNodeConnectorCommitter<D extends org.opendaylight.yangtools.yang.binding.DataObject>
- All Superinterfaces:
AutoCloseable
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<D>
- All Known Implementing Classes:
AbstractNodeConnectorCommitter
,FlowNodeConnectorInventoryTranslatorImpl
public interface FlowCapableNodeConnectorCommitter<D extends org.opendaylight.yangtools.yang.binding.DataObject>
extends AutoCloseable, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<D>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D add, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent) Method adds the DataObject which is identified by InstanceIdentifier to device.void
remove
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D del, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent) Method removes DataObject which is identified by InstanceIdentifier from device.void
update
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D original, D update, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent) Method updates the original DataObject to the update DataObject in device.Methods inherited from interface java.lang.AutoCloseable
close
Methods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener
onDataTreeChanged, onInitialData
-
Method Details
-
remove
void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D del, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent) Method removes DataObject which is identified by InstanceIdentifier from device.- Parameters:
identifier
- - the whole path to DataObjectdel
- - DataObject for removingnodeConnIdent
- NodeConnector InstanceIdentifier
-
update
void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D original, D update, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent) Method updates the original DataObject to the update DataObject in device. Both are identified by same InstanceIdentifier- Parameters:
identifier
- - the whole path to DataObjectoriginal
- - original DataObject (for update)update
- - changed DataObject (contain updates)nodeConnIdent
- NodeConnector InstanceIdentifier
-
add
void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D add, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent) Method adds the DataObject which is identified by InstanceIdentifier to device.- Parameters:
identifier
- - the whole path to new DataObjectadd
- - new DataObjectnodeConnIdent
- NodeConnector InstanceIdentifier
-