[e-lang] Adding Reactor to Lamport Slot without immediate send?

Martin Scheffler wooyay at web.de
Tue Dec 5 15:02:11 CST 2006


Hi, 

I'm using a lamport slot to distribute the state of an object to a different machine. 
I initialize the proxy object on the client with the current value of the lamport slot.
Then I subscribe the proxy to the lamport by adding it with whenUpdated().
At this point, the lamport slot immediately sends its value to the proxy, because its generation value at this point is >0.
Maybe it would make sense to make the generation value of the slot accessible? Then I could subscribe the proxy to updates of the lamport slot as of now.

Cheers, 
Martin
______________________________________________________________________________
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!




More information about the e-lang mailing list