Just forwarding this message from Nuno since he is having problems
sending e-mail to our list server.
Anyone else having problems writing to the Hedera list please let me know.
Damián
--- Begin Message ---
Damián Arregui wrote:
True, we could have a static factory method:
createFromByteArray(byte[] rawdata). Its default implementation would
be something like:
public static ChannelMessage createFromByteArray(byte[] rawdata) {
return (ChannelMessage) new ObjectInputStream(
new ByteArrayInputStream(rawdata)).readObject();
}
That method should be overridden together with getByteArray() to
provide a "smart" serialization mechanism.
Yes, that should be ok.
I keep that one on the side and will try to batch it with other
suggestions as soon as I have more time to dedicate to Hedera.
By the way, it would make sense to host the source code for the Hedera
Wrapper for Appia on the continuent.org forge. Exposing such wrapping
code to the community would help to better understand the kind of API
issues we are discussing here.
Yes, you are right.
The current implementation of Hedera with Appia uses some features that
are not in the Appia release that is available on-line in the web page.
I'm preparing a new Appia release, that will be available when I come
back to Lisbon (I'm traveling right now). It's better to maintain
coherence between the Appia public releases and the Hedera implementation.
So, after the Appia release, we can host the Appia implementation of
Hedera on the continuent forge.
Cheers,
Nuno
--- End Message ---
_______________________________________________
Hedera mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/hedera