commit | 0efc9062d0ea5014082a25bafcca50b69eb0efe0 | [log] [tgz] |
---|---|---|
author | Brian O'Connor <bocon@onlab.us> | Tue Sep 02 14:47:28 2014 -0700 |
committer | Saurav Das <sauravdas@alumni.stanford.edu> | Fri Sep 05 11:47:26 2014 -0700 |
tree | 0b8fe12632f824ac3a788a52ce1710c9fe71d4aa | |
parent | d8fd2f54639bd71334ec21211e3e2d014d626168 [diff] [blame] |
Updating MatchAction objects with no-arg constructors and registering them with Kryo Change-Id: I3512b2e99624c3f496d786ea99133b385a35094e
diff --git a/src/main/java/net/onrc/onos/core/matchaction/MatchAction.java b/src/main/java/net/onrc/onos/core/matchaction/MatchAction.java index 5f7d9fb..fdf1fc7 100644 --- a/src/main/java/net/onrc/onos/core/matchaction/MatchAction.java +++ b/src/main/java/net/onrc/onos/core/matchaction/MatchAction.java
@@ -32,6 +32,16 @@ } /** + * no-arg constructor for Kryo. + */ + protected MatchAction() { + id = null; + port = null; + match = null; + actions = null; + } + + /** * Constructor. TEMPORARY * * @param id ID for this MatchAction object