Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Corba > Re: Why we can'...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 500 of 558
Post > Topic >>

Re: Why we can't provide a null parameter to method in CORBA?

by Yakov Gerlovin <yakov.gerlovin@[EMAIL PROTECTED] > Jul 3, 2007 at 07:54 AM

CORBA allows you to pass an empty string.

Passing 'null' means you don't want to send data. If you don't want to
pass data, there is no reason to specify parameters.
What you actually want is 2 functions:
         string echoString(in string mesg);
and another
         void echoString();
Unfortunately, CORBA does not allow overloading (to allow mappings to
programming languages with this limitation)

Further, since the string is passed by value (deep copied) you can not
pass 'null'.
 




 5 Posts in Topic:
Why we can't provide a null parameter to method in CORBA?
billdavidcn@[EMAIL PROTEC  2007-07-03 02:21:02 
Re: Why we can't provide a null parameter to method in CORBA?
Yakov Gerlovin <yakov.  2007-07-03 07:54:02 
Re: Why we can't provide a null parameter to method in CORBA?
billdavidcn@[EMAIL PROTEC  2007-07-03 21:31:32 
Re: Why we can't provide a null parameter to method in CORBA?
Piet van Oostrum <piet  2007-07-07 23:14:14 
Re: Why we can't provide a null parameter to method in CORBA?
Yakov Gerlovin <yakov.  2007-07-04 00:32:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 0:06:36 CST 2008.