I have to say I don't really understand why you don't just put the conversion to
List in the encode method of the Packet - not sure I see that PacketAssembler/Disassembler
is necessary.
Another observation is that messages are just being re-encoded into several buffers. The
original idea here was to write directly into the messages own buffers when the user
builds the message and then just use that when writing to the wire - no re-writing
necessary.
I'm nor sure we need PacketFragment either - can't we just use MessagingBuffer?
Regarding re-assembling, I'm not sure this is necessary either since when reading
several packets off the wire to form a command we can just store the actual buffers, no
need to re-assemble?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167839#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...