Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

distinguish the client in Lock()

 
Ying Ren
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tracked a lot of thread here about the clientID. Why don't use the RemoteDataAccess directly? I think every client will produce the different RemoteDataAccess.
PS: I have ConnectFactory which will return the new RemoteDataAccess object for every client.
Ying Ren
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes that object can be used as a ClientID, and if you will read about some of the posts on LockManager, that is exactly what they pass to its lock method, is the record number and the RemoetDataAccess class.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic