net.floodlightcontroller.flowcache
Interface IFlowReconcileService

All Superinterfaces:
IFloodlightService
All Known Implementing Classes:
FlowReconcileManager

public interface IFlowReconcileService
extends IFloodlightService


Method Summary
 void addFlowReconcileListener(IFlowReconcileListener listener)
          Add a flow reconcile listener
 void clearFlowReconcileListeners()
          Remove all flow reconcile listeners
 void init(FloodlightModuleContext context)
           
 void reconcileFlow(OFMatchReconcile ofmRcIn, PriorityPendingQueue.EventPriority priority)
          Reconcile flow.
 void removeFlowReconcileListener(IFlowReconcileListener listener)
          Remove a flow reconcile listener
 void startUp(FloodlightModuleContext context)
           
 

Method Detail

addFlowReconcileListener

void addFlowReconcileListener(IFlowReconcileListener listener)
Add a flow reconcile listener

Parameters:
listener - The module that can reconcile flows

removeFlowReconcileListener

void removeFlowReconcileListener(IFlowReconcileListener listener)
Remove a flow reconcile listener

Parameters:
listener - The module that no longer reconcile flows

clearFlowReconcileListeners

void clearFlowReconcileListeners()
Remove all flow reconcile listeners


reconcileFlow

void reconcileFlow(OFMatchReconcile ofmRcIn,
                   PriorityPendingQueue.EventPriority priority)
Reconcile flow. Returns false if no modified flow-mod need to be programmed if cluster ID is providced then pnly flows in the given cluster are reprogrammed

Parameters:
ofmRcIn - the ofm rc in

init

void init(FloodlightModuleContext context)
          throws FloodlightModuleException
Throws:
FloodlightModuleException

startUp

void startUp(FloodlightModuleContext context)
             throws FloodlightModuleException
Throws:
FloodlightModuleException