Toshio Koide | a03915e | 2014-07-01 18:39:52 -0700 | [diff] [blame] | 1 | package net.onrc.onos.core.matchaction; |
| 2 | |
Toshio Koide | a03915e | 2014-07-01 18:39:52 -0700 | [diff] [blame] | 3 | import java.util.EventListener; |
Brian O'Connor | dee2e6b | 2014-08-12 11:34:51 -0700 | [diff] [blame^] | 4 | import java.util.Set; |
Toshio Koide | a03915e | 2014-07-01 18:39:52 -0700 | [diff] [blame] | 5 | import net.onrc.onos.api.flowmanager.ConflictDetectionPolicy; |
| 6 | |
| 7 | /** |
| 8 | * Manages Match-Action entries. |
| 9 | * <p> |
| 10 | * TODO: Make all methods thread-safe |
| 11 | */ |
Toshio Koide | d8b077a | 2014-08-13 10:47:21 -0700 | [diff] [blame] | 12 | public class MatchActionModule implements MatchActionService { |
Toshio Koide | a03915e | 2014-07-01 18:39:52 -0700 | [diff] [blame] | 13 | |
| 14 | @Override |
| 15 | public boolean addMatchAction(MatchAction matchAction) { |
Brian O'Connor | dee2e6b | 2014-08-12 11:34:51 -0700 | [diff] [blame^] | 16 | return false; |
Toshio Koide | a03915e | 2014-07-01 18:39:52 -0700 | [diff] [blame] | 17 | } |
| 18 | |
| 19 | @Override |
Brian O'Connor | dee2e6b | 2014-08-12 11:34:51 -0700 | [diff] [blame^] | 20 | public Set<MatchAction> getMatchActions() { |
Toshio Koide | a03915e | 2014-07-01 18:39:52 -0700 | [diff] [blame] | 21 | // TODO Auto-generated method stub |
| 22 | return null; |
| 23 | } |
| 24 | |
| 25 | @Override |
Brian O'Connor | dee2e6b | 2014-08-12 11:34:51 -0700 | [diff] [blame^] | 26 | public boolean executeOperations(final MatchActionOperations operations) { |
Toshio Koide | a03915e | 2014-07-01 18:39:52 -0700 | [diff] [blame] | 27 | // TODO Auto-generated method stub |
| 28 | return false; |
| 29 | } |
| 30 | |
| 31 | @Override |
| 32 | public void setConflictDetectionPolicy(ConflictDetectionPolicy policy) { |
| 33 | // TODO Auto-generated method stub |
| 34 | |
| 35 | } |
| 36 | |
| 37 | @Override |
| 38 | public ConflictDetectionPolicy getConflictDetectionPolicy() { |
| 39 | // TODO Auto-generated method stub |
| 40 | return null; |
| 41 | } |
| 42 | |
| 43 | @Override |
| 44 | public void addEventListener(EventListener listener) { |
| 45 | // TODO Auto-generated method stub |
| 46 | |
| 47 | } |
| 48 | |
| 49 | @Override |
| 50 | public void removeEventListener(EventListener listener) { |
| 51 | // TODO Auto-generated method stub |
| 52 | |
| 53 | } |
| 54 | } |