[Vortex] Question about ausage pattern

Chris Yourch chris at replicus.com
Mon Mar 31 18:42:45 CEST 2008

Since I wasn't sure of how unique the channel/msgno combination was I ended up keeping a per profile URI dictionary and keying into that with the channel and msgno.  Also, my framework tracks instance data for multiple host/port/profile-URI combinations so I had to have more keys to be unique.

Is the message-number guaranteed to be unique on a per channel basis?

-----Original Message-----
From: Jens Alfke [mailto:jens at mooseyard.com]
Sent: Monday, March 31, 2008 9:29 AM
To: Chris Yourch
Cc: Robert M. Münch; vortex at lists.aspl.es
Subject: Re: [Vortex] Question about ausage pattern

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.


More information about the Vortex mailing list