From 7673f4e000757a72f5da72ba05174ac982f4da8a Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Thu, 13 Sep 2007 21:42:57 +0000 Subject: * moved most of the classes in the org.apache.qpidity package to org.apache.qpidity.transport * factored out the network specific pieces into org.apache.qpidity.transport * moved the mina specific code to org.apache.qpidity.transport.network.mina * replaced the handler chain with Sender/Receiver chains that can deal with close request/closed notifications * moved from an anonymous struct[] to a real Header class * removed an excess copy from message data transmit git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@575474 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/java/common/generate | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'qpid/java/common/generate') diff --git a/qpid/java/common/generate b/qpid/java/common/generate index ac49c6283d..b2448c6e5d 100755 --- a/qpid/java/common/generate +++ b/qpid/java/common/generate @@ -8,6 +8,7 @@ from cStringIO import StringIO out_dir=sys.argv[1] out_pkg = sys.argv[2] spec_file = sys.argv[3] + spec = mllib.xml_parse(spec_file) class Output: @@ -27,6 +28,8 @@ class Output: self.line("import org.apache.qpidity.codec.Encodable;") self.line("import org.apache.qpidity.codec.Encoder;") self.line() + self.line("import org.apache.qpidity.transport.network.Frame;") + self.line() self.line() def line(self, l = ""): @@ -363,7 +366,7 @@ fct.line("}"); fct.write() dlg = Output(out_dir, out_pkg, "Delegate") -dlg.line("public abstract class Delegate {") +dlg.line("public abstract class Delegate extends AbstractDelegate {") for s in structs: dlg.line(" public void %s(C context, %s struct) {}" % (dromedary(s.name), s.name)) -- cgit v1.2.1