Sangho Shin | 8a75974 | 2014-09-25 14:31:18 -0700 | [diff] [blame^] | 1 | package net.onrc.onos.core.matchaction.action; |
2 | |||||
3 | import java.util.ArrayList; | ||||
4 | import java.util.List; | ||||
5 | |||||
6 | import net.onrc.onos.core.util.Dpid; | ||||
7 | |||||
8 | public class GroupAction implements Action { | ||||
9 | List<Dpid> fwdSws; | ||||
10 | |||||
11 | public GroupAction() { | ||||
12 | fwdSws = new ArrayList<Dpid>(); | ||||
13 | } | ||||
14 | |||||
15 | public void AddSwitch(Dpid d) { | ||||
16 | fwdSws.add(d); | ||||
17 | } | ||||
18 | |||||
19 | public List<Dpid> getDpids() { | ||||
20 | return fwdSws; | ||||
21 | } | ||||
22 | } |