Ray Milkey | 18b44ac | 2014-08-22 08:29:47 -0700 | [diff] [blame^] | 1 | package net.onrc.onos.core.matchaction; |
| 2 | import java.util.LinkedList; |
| 3 | |
| 4 | /** |
| 5 | * This class wraps a list of SwitchResults. It is required to be able to pass |
| 6 | * SwitchResults via a Hazelcast channel. |
| 7 | */ |
| 8 | public class SwitchResultList extends LinkedList<SwitchResult> { |
| 9 | |
| 10 | static final long serialVersionUID = -4966789015808022563L; |
| 11 | |
| 12 | /** |
| 13 | * Add a switch result to the list. |
| 14 | * |
| 15 | * @param result switch result to add to the list |
| 16 | * @return true |
| 17 | */ |
| 18 | public boolean add(SwitchResult result) { |
| 19 | return super.add(result); |
| 20 | } |
| 21 | } |