[Vortex] Question about ausage pattern

Jens Alfke jens at mooseyard.com
Mon Mar 31 18:29:04 CEST 2008


On 31 Mar '08, at 9:05 AM, Chris Yourch wrote:

> Is there any way you can see changing the message-number from an  
> integer to a unique GUID? It sure would make my life easier in  
> regards to mapping data to frames!

BEEP is a standardized protocol (RFC 3340). Vortex couldn't make a  
change like that or it wouldn't be BEEP anymore.

If you want a unique GUID for each message, just create a UUID at the  
start of the connection, then for any given message concatenate its  
channel number and message number onto the UUID. But personally I  
think it's easier just to keep a per-connection dictionary whose keys  
are {channel,message} number pairs; then the client can store anything  
they want as the value.

—Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1875 bytes
Desc: not available
Url : http://lists.aspl.es/pipermail/vortex/attachments/20080331/65b375f0/attachment.bin 


More information about the Vortex mailing list