[infinispan-dev] Shipping logical address String in Hot Rod protocol v1.1?

Bela Ban bban at redhat.com
Wed Nov 30 03:04:21 EST 2011



On 11/30/11 8:59 AM, Dan Berindei wrote:

>> Why don't you send the UUID as a (16 byte) string then ?
>>
>
> Yeah, that would work. However, a UUID is not always a valid UTF-8
> string, so we should probably define it in the protocol as an array of
> bytes (without any meaning).


Yes. We did something similar in JGroups, take a look at 
ENCRYPT.byteArrayToHexString().

-- 
Bela Ban
Lead JGroups (http://www.jgroups.org)
JBoss / Red Hat


More information about the infinispan-dev mailing list