File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about modify method

 
frank meng
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,all.
Do i need to include the modify method in my server interface? I think so.But i feel dilemma that should i modify the signature of it.
Because follow the golden rule of lock-write-unlock ,my modify method should be do the follow step: lock() ,db.modify(),unlock() .The question is all my lock method need a client connection id argument ,so i have to pass it to my modify method .As a result ,my modify method will be modify(DataInfo newData,ConnectionID cid).Does any one can tell me whether i misunderstand the meanings of instruction?
thx.
 
Rama Ituarte
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you need to pass the client id to the modify method?
I think they are going to ask you to change your login name to your real name.
Rama
[ November 07, 2002: Message edited by: Rama Ituarte ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic