Yotam Harchol | f25e814 | 2013-09-09 14:30:13 -0700 | [diff] [blame] | 1 | |
| 2 | @Override |
| 3 | public List<OFAction> getActions()throws UnsupportedOperationException { |
Yotam Harchol | f25e814 | 2013-09-09 14:30:13 -0700 | [diff] [blame] | 4 | for (OFInstruction inst : this.instructions) { |
| 5 | if (inst instanceof OFInstructionApplyActions) { |
| 6 | OFInstructionApplyActions iap = (OFInstructionApplyActions)inst; |
Yotam Harchol | a9305c2 | 2013-09-09 14:57:19 -0700 | [diff] [blame] | 7 | return iap.getActions(); |
Yotam Harchol | f25e814 | 2013-09-09 14:30:13 -0700 | [diff] [blame] | 8 | } |
| 9 | } |
Yotam Harchol | a9305c2 | 2013-09-09 14:57:19 -0700 | [diff] [blame] | 10 | return Collections.emptyList(); |
Yotam Harchol | f25e814 | 2013-09-09 14:30:13 -0700 | [diff] [blame] | 11 | } |