FW: [omniORB] static variable & thread

Renny Koshy renny@visualsoft.com
Mon, 6 Mar 2000 10:40:08 -0500


Cedrick:

 Okay the simple answers first:
 
 >     - I have done an example in which I define in the _sk 
 > class, a static member like you explain to me. It's OK but 
 > I need to declare this static member in the IDL interface 
 > because I want client object can read this static variable. Is
 > there an equivalent of a static member in the IDL syntax or 
 > need I write a method for reading the static members ?
 
 Since the client needs to access it, you should declare a get/set
 member pair to return the static variable you declared in your class.