From: David J. <dav...@di...> - 2002-12-15 13:30:23
|
This looks good to me. I think doing this for connections as well would be good too. I think the main implementation problem will be making the socket usage asynchronous at both ends so you still only need one socket per connection. Adding more threads to some clients and possibly the server to handle asynchronous lease renewals may be tricky too. david jencks On 2002.12.15 07:07:05 -0500 Roman Rokytskyy wrote: > Hi, > > > I would suggest following (Java syntax): > > /** > * Lease new transaction. This method tries to obtain a lease on > * starting new transaction, and in case of success starts it. <snip> |