kennyw.com » IndigoKenny Wolf's Thoughts of the MomentNotes on lifetimes of Channels and their Factories- March 18, 2008 One question I get from custom channel authors has to do with the various lifetimes of the components involved. Especially since, as per best practice, their heavyweight resources are attached to ChannelFactories and ChannelListeners and simply referenced from the Channel. Nicholas covered the basics in this post. Which to summarize is: ChannelFactory created Channels cannot outlive ...http://kennyw.com/indigo/234 Pumping in a Layered IInputChannel- March 11, 2008 When writing a layered channel, sometime you want to decouple processing without changing the channel shape. One example would be for layered demux purposes. When layering your IInputChannel on top of a &34;lower&34; IInputChannel, you have a few options for lifetime management and pumping that are worth noting: When your innerInputChannel.Receive call returns &34;null&34;, that means ...http://kennyw.com/indigo/235 |