dxslyz
8/12/2004 7:50:00 PM
Hi, there,
In a Timer controlled chain notification application, a client can
join the chain list in any time. The notification will be passed from
one client to another on the network. The remoting server starts the
notification when a special event happens, The remoting servre
controls the notification around network by using a timer.
Problem 1. When I start the clients before the event comes in, the
notification works fine. But if a client joins the party after a event
happens, it will not be notified. The client programs are the same one
running on different machine. It seems delegates here does not work,
but also no error reported. I have not used LOCK mechanism on
delegates chain on server side when a client joins, can it be the
problem ?
Problem 2. When a client is down, the delegates call needs more time
than the timeout is defined to return. So question: will be timeout
event reentered ? How to prevent this happening, anywhere can be
configued, all I should start a ping thread to check network clients
continuously ? Is there any elegant solution ?
thanks
Steven Y