Skip to content
Permalink
Browse files
Making MessageBuffer extend PBMessage
git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-protobuf/trunk@755695 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
chirino committed Mar 18, 2009
1 parent a719906 commit 16a8b64e8829c3c95052f4f0cda1e46ed1ed7402
Showing 2 changed files with 2 additions and 2 deletions.
@@ -3,7 +3,7 @@
import java.io.IOException;
import java.io.OutputStream;

public interface MessageBuffer {
public interface MessageBuffer<B, MB extends MessageBuffer> extends PBMessage<B, MB> {

public int serializedSizeUnframed();

@@ -359,7 +359,7 @@ private void generateMessageBean(MessageDescriptor m) {
p("}");
p();

p("static public final class "+bufferClassName+" implements org.apache.activemq.protobuf.MessageBuffer, "+className+" {");
p("static public final class "+bufferClassName+" implements org.apache.activemq.protobuf.MessageBuffer<"+className+"."+beanClassName+", "+className+"."+bufferClassName+">, "+className+" {");
p();
indent();

0 comments on commit 16a8b64

Please sign in to comment.