Class TableForwarder
java.lang.Object
org.opendaylight.openflowplugin.applications.frm.impl.AbstractListeningCommiter<TableFeatures>
org.opendaylight.openflowplugin.applications.frm.impl.TableForwarder
- All Implemented Interfaces:
- AutoCloseable,- org.opendaylight.mdsal.binding.api.DataTreeChangeListener<TableFeatures>,- ForwardingRulesCommiter<TableFeatures>,- org.opendaylight.serviceutils.srm.RecoverableListener
- 
Field SummaryFields inherited from class org.opendaylight.openflowplugin.applications.frm.impl.AbstractListeningCommiterdataBroker
- 
Constructor SummaryConstructorsConstructorDescriptionTableForwarder(ForwardingRulesManager manager, org.opendaylight.mdsal.binding.api.DataBroker dataBroker) 
- 
Method SummaryModifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<?>>add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TableFeatures> identifier, TableFeatures addDataObj, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent) Method adds the DataObject which is identified by InstanceIdentifier to device.voidcreateStaleMarkEntity(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TableFeatures> identifier, TableFeatures del, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent) Method creates stale-marked DataObject which is identified by InstanceIdentifier from device.protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TableFeatures>Method return wildCardPath for Listener registration and for identify the correct KeyInstanceIdentifier from data.voidremove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TableFeatures> identifier, TableFeatures removeDataObj, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent) Method removes DataObject which is identified by InstanceIdentifier from device.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<?>>removeWithResult(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TableFeatures> identifier, TableFeatures del, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent) voidupdate(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TableFeatures> identifier, TableFeatures original, TableFeatures update, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent) Method updates the original DataObject to the update DataObject in device.Methods inherited from class org.opendaylight.openflowplugin.applications.frm.impl.AbstractListeningCommiterclose, deregisterListener, onDataTreeChanged, registerListenerMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListeneronInitialData
- 
Constructor Details- 
TableForwarderpublic TableForwarder(ForwardingRulesManager manager, org.opendaylight.mdsal.binding.api.DataBroker dataBroker) 
 
- 
- 
Method Details- 
getWildCardPathprotected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TableFeatures> getWildCardPath()Description copied from class:AbstractListeningCommiterMethod return wildCardPath for Listener registration and for identify the correct KeyInstanceIdentifier from data.- Specified by:
- getWildCardPathin class- AbstractListeningCommiter<TableFeatures>
 
- 
removepublic void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TableFeatures> identifier, TableFeatures removeDataObj, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent) Description copied from interface:ForwardingRulesCommiterMethod removes DataObject which is identified by InstanceIdentifier from device.- Parameters:
- identifier- - the whole path to DataObject
- removeDataObj- - DataObject for removing
- nodeIdent- Node InstanceIdentifier
 
- 
updatepublic void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TableFeatures> identifier, TableFeatures original, TableFeatures update, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent) Description copied from interface:ForwardingRulesCommiterMethod updates the original DataObject to the update DataObject in device. Both are identified by same InstanceIdentifier- Parameters:
- identifier- - the whole path to DataObject
- original- - original DataObject (for update)
- update- - changed DataObject (contain updates)
- nodeIdent- Node InstanceIdentifier
 
- 
addpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<?>> add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TableFeatures> identifier, TableFeatures addDataObj, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent) Description copied from interface:ForwardingRulesCommiterMethod adds the DataObject which is identified by InstanceIdentifier to device.- Parameters:
- identifier- - the whole path to new DataObject
- addDataObj- - new DataObject
- nodeIdent- Node InstanceIdentifier
- Returns:
- A future associated with RPC task. nullis set to the future if this method does not invoke RPC.
 
- 
createStaleMarkEntitypublic void createStaleMarkEntity(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TableFeatures> identifier, TableFeatures del, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent) Description copied from interface:ForwardingRulesCommiterMethod creates stale-marked DataObject which is identified by InstanceIdentifier from device.- Parameters:
- identifier- - the whole path to DataObject
- del- - DataObject removed. Stale-Mark object to be created from this object
- nodeIdent- Node InstanceIdentifier
 
- 
removeWithResultpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<?>> removeWithResult(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TableFeatures> identifier, TableFeatures del, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent) 
 
-