• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

about modify method

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic