I am trying to write a service in Java which will convert back and
forth using protobufs. The docs say that this should be easy as
"Reflection is provided as part of the Message and Message.Builder
interfaces". However I cannot seem to find what this is referring to.
I would like have a generic
aph, OutputStream
outputStream)
throws Exception {
((Message)graph).writeTo(outputStream);
}
public Object unmarshal(Exchange exchange, InputStream inputStream)
throws Exception {
//TODO what happens here?
return null;
}
}
On Oct 31, 11:37 pm, Evan Jones wrote:
> O
a generated class -- the
> generated classes are not subclasses of DynamicMessage.
>
> On Sat, Oct 31, 2009 at 7:57 AM, Martin Gilday wrote:
>
>
>
>
>
> > I am trying to write a service in Java which will convert back and
> > forth using protobufs. The docs say that this