• Post Reply Bookmark Topic Watch Topic
  • New Topic

Holder

 
Andy Smith
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whats the use of holder classes... and y they are not used for the inputs>
 
Dushy Inguva
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andy,

Holder classes are present to enable INOUT and OUT parameters. As, any object passed through a JAX_RPC is passed by value, no modification made to them is reflected at the caller place.

Look at the jax-rpc spec section 4.3.5 (Since you don't have RMH)
Here is a slightly modified example from the RMH book: (Richard, please dont kill me for modifying your code :roll: )


Hope i made things clear.

Dushy
 
Mikalai Zaikin
Ranch Hand
Posts: 3381
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Does Beta Test mention Holder types ?

cheers !
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!