-
- Downloads
Cleanup OFMessageFutures
Removed stale code for OFMessageFuture and OFStatisticsFuture. Change the way we keep track of pending Futures: instead of registering an IOFSwitchListener we now cancel all pending futures when a switch is removed from the active list. In the future we might want to allow slave controllers to send stats request then we need to move the cancel to switch disconnect. [#26756797]
Showing
- src/main/java/net/floodlightcontroller/core/IOFSwitch.java 5 additions, 0 deletionssrc/main/java/net/floodlightcontroller/core/IOFSwitch.java
- src/main/java/net/floodlightcontroller/core/internal/Controller.java 10 additions, 2 deletions...va/net/floodlightcontroller/core/internal/Controller.java
- src/main/java/net/floodlightcontroller/core/internal/OFMessageFuture.java 9 additions, 39 deletions...t/floodlightcontroller/core/internal/OFMessageFuture.java
- src/main/java/net/floodlightcontroller/core/internal/OFStatisticsFuture.java 5 additions, 7 deletions...loodlightcontroller/core/internal/OFStatisticsFuture.java
- src/main/java/net/floodlightcontroller/core/internal/OFSwitchImpl.java 15 additions, 2 deletions.../net/floodlightcontroller/core/internal/OFSwitchImpl.java
- src/test/java/net/floodlightcontroller/core/internal/ControllerTest.java 4 additions, 13 deletions...et/floodlightcontroller/core/internal/ControllerTest.java
Loading
Please register or sign in to comment