Boost logo

Boost :

From: simon meiklejohn (simon_at_[hidden])
Date: 2005-12-13 06:52:41

Hi Chris
>> I know that's not correct asio - but what's a recommended way to
>> achieve this without wrapping each method of the interface.
> I haven't really thought about it that deeply, but since you talk about
> a fan-out, cannot the dispatcher wrap be done on a function just before
> the fan-out occurs? I.e. a function that takes a complete message
> before a decision about what type it is has been made -- before the one
> becomes many?

Yes, i believe thats necessary. Problem is - whats a clean way for
the recipient of the fanned out callbacks to control the dispatcher policy.

(see post about polymorphic_dispatcher for one approach).



Boost list run by bdawes at, gregod at, cpdaniel at, john at