[Vortex] Question about ausage pattern

Chris Yourch chris at replicus.com
Mon Mar 31 18:05:54 CEST 2008

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!

-----Original Message-----
From: vortex-bounces at lists.aspl.es [mailto:vortex-bounces at lists.aspl.es] On Behalf Of Robert M. Münch
Sent: Monday, March 31, 2008 1:32 AM
To: vortex at lists.aspl.es
Subject: Re: [Vortex] Question about ausage pattern

On Sun, 30 Mar 2008 18:58:49 +0200, Jens Alfke <jens at mooseyard.com> wrote:

> Every outgoing message is assigned a message number when it's sent;
> and every incoming frame contains the message number that it's
> replying to.
> So when you send a request, use a per-channel dictionary to associate
> its message number with whatever auxiliary data you need to remember.

Hi Jens, yes this sounds like a good idea. Because the combination
channel/message-number is unique no clash between threads can happen.

Isn't this such a fundamental function that it should be included into the
Vortex library?

Robert M. Münch

Vortex mailing list
Vortex at lists.aspl.es

More information about the Vortex mailing list