blob: 25235563193bd732d798e1204ddb26b3af930dd8 [file] [log] [blame]
Ray Milkey18b44ac2014-08-22 08:29:47 -07001package net.onrc.onos.core.matchaction;
2import 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 */
8public 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}