Brian O'Connor | dee2e6b | 2014-08-12 11:34:51 -0700 | [diff] [blame] | 1 | package net.onrc.onos.core.matchaction; |
| 2 | |
| 3 | /** |
| 4 | * A MatchAction-related event. |
| 5 | * |
| 6 | * The TODO entry removed by switch or preempted by another request. |
| 7 | * |
| 8 | */ |
| 9 | public interface MatchActionEvent { |
| 10 | |
| 11 | /** |
| 12 | * TODO. |
| 13 | * |
Ray Milkey | 42ae1b5 | 2014-08-15 16:37:06 -0700 | [diff] [blame] | 14 | * @return Match Action ID (This is a WIP). |
Brian O'Connor | dee2e6b | 2014-08-12 11:34:51 -0700 | [diff] [blame] | 15 | */ |
| 16 | public MatchActionId getId(); |
| 17 | |
| 18 | /** |
| 19 | * TODO. |
| 20 | * |
Ray Milkey | 42ae1b5 | 2014-08-15 16:37:06 -0700 | [diff] [blame] | 21 | * @return Match Action Status (This is a WIP). |
Brian O'Connor | dee2e6b | 2014-08-12 11:34:51 -0700 | [diff] [blame] | 22 | */ |
| 23 | public MatchActionStatus getStatus(); |
| 24 | |
| 25 | /** |
| 26 | * Returns the time at which the event was created. |
| 27 | * |
| 28 | * @return the time in milliseconds since start of epoch |
| 29 | */ |
| 30 | long getTime(); |
| 31 | } |