@Service
public class SimpleFlowRuleStore
extends org.onosproject.store.AbstractStore<org.onosproject.net.flow.FlowRuleBatchEvent,org.onosproject.net.flow.FlowRuleStoreDelegate>
implements org.onosproject.net.flow.FlowRuleStore
| Constructor and Description |
|---|
SimpleFlowRuleStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
org.onosproject.net.flow.FlowRuleEvent |
addOrUpdateFlowRule(org.onosproject.net.flow.FlowEntry rule) |
void |
batchOperationComplete(org.onosproject.net.flow.FlowRuleBatchEvent event) |
void |
deactivate() |
void |
deleteFlowRule(org.onosproject.net.flow.FlowRule rule) |
Iterable<org.onosproject.net.flow.FlowEntry> |
getFlowEntries(org.onosproject.net.DeviceId deviceId) |
org.onosproject.net.flow.FlowEntry |
getFlowEntry(org.onosproject.net.flow.FlowRule rule) |
int |
getFlowRuleCount() |
org.onosproject.net.flow.FlowRuleEvent |
removeFlowRule(org.onosproject.net.flow.FlowEntry rule) |
void |
storeBatch(org.onosproject.net.flow.FlowRuleBatchOperation operation) |
void |
storeFlowRule(org.onosproject.net.flow.FlowRule rule) |
hasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegate@Activate public void activate()
@Deactivate public void deactivate()
public int getFlowRuleCount()
getFlowRuleCount in interface org.onosproject.net.flow.FlowRuleStorepublic org.onosproject.net.flow.FlowEntry getFlowEntry(org.onosproject.net.flow.FlowRule rule)
getFlowEntry in interface org.onosproject.net.flow.FlowRuleStorepublic Iterable<org.onosproject.net.flow.FlowEntry> getFlowEntries(org.onosproject.net.DeviceId deviceId)
getFlowEntries in interface org.onosproject.net.flow.FlowRuleStorepublic void storeFlowRule(org.onosproject.net.flow.FlowRule rule)
storeFlowRule in interface org.onosproject.net.flow.FlowRuleStorepublic void deleteFlowRule(org.onosproject.net.flow.FlowRule rule)
deleteFlowRule in interface org.onosproject.net.flow.FlowRuleStorepublic org.onosproject.net.flow.FlowRuleEvent addOrUpdateFlowRule(org.onosproject.net.flow.FlowEntry rule)
addOrUpdateFlowRule in interface org.onosproject.net.flow.FlowRuleStorepublic org.onosproject.net.flow.FlowRuleEvent removeFlowRule(org.onosproject.net.flow.FlowEntry rule)
removeFlowRule in interface org.onosproject.net.flow.FlowRuleStorepublic void storeBatch(org.onosproject.net.flow.FlowRuleBatchOperation operation)
storeBatch in interface org.onosproject.net.flow.FlowRuleStorepublic void batchOperationComplete(org.onosproject.net.flow.FlowRuleBatchEvent event)
batchOperationComplete in interface org.onosproject.net.flow.FlowRuleStoreCopyright © 2015. All rights reserved.