commit | 3ad9816aa5ae045298a575067418b2044623b8dc | [log] [tgz] |
---|---|---|
author | Andreas Wundsam <andreas.wundsam@bigswitch.com> | Thu Aug 15 11:08:56 2013 -0700 |
committer | Andreas Wundsam <andreas.wundsam@bigswitch.com> | Thu Aug 15 11:08:56 2013 -0700 |
tree | a5579ce3af907b5d82297943a0fa8efee2df15a1 | |
parent | 2bf357c4399c05b294e98d2ec8f65972a1054bb7 [diff] [blame] |
java_gen: add accessor to reader to offactory
diff --git a/java_gen/templates/of_factory_class.java b/java_gen/templates/of_factory_class.java index 8620787..fec0bcf 100644 --- a/java_gen/templates/of_factory_class.java +++ b/java_gen/templates/of_factory_class.java
@@ -52,5 +52,9 @@ //:: #endif //:: #endfor + public OFMessageReader<OFMessage> getMessageReader() { + return OFMessageVer${factory.version.of_version}.READER; + } + //:: include("_singleton.java", msg=factory) }