blob: 56f4c04f0d5b3dc4290ed7f527067e9b15f778cf [file] [log] [blame]
package net.onrc.onos.ofcontroller.bgproute;
import org.openflow.protocol.OFFlowMod;
public class PushedFlowMod {
private long dpid;
private OFFlowMod flowMod;
public PushedFlowMod(long dpid, OFFlowMod flowMod) {
this.dpid = dpid;
try {
this.flowMod = flowMod.clone();
} catch (CloneNotSupportedException e) {
this.flowMod = flowMod;
}
}
public long getDpid() {
return dpid;
}
public OFFlowMod getFlowMod() {
return flowMod;
}
}