[omniORB] INV_OBJREF again
Rob Cecil
rceci@master.adams.com
Fri, 19 Nov 1999 15:48:07 -0500
--------------22366FC079E6BEBAE379F101
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Am I missing something here?
I have a method in my main server implementation object, which returns to the client an
object reference:
PropertyGroupServer_ptr RegistryServer_impl::getRootGroupServer()
{
return rootGroup_->_this();
}
When called by a client, an INV_OBJREF is thrown. If I change the method to
{
return PropertyGroupServer::_nil();
}
No problem. What am I missing. rootGroup_ at the point this method can be called is
known to point to PropertyGroupServer_impl.
Thanks
Befuddled.
--
| Rob Cecil | Senior Development Engineer |
| rceci@adams.com | Product Development |
| (734) 913-9351 | Mechanical Dynamics, Inc. (www.adams.com) |
--------------------------------------------------------------------
Modern Quantum Physics has found that the universe is composed of
25% protons, 15% electrons, 15% neutrons, and 45% morons.
--------------22366FC079E6BEBAE379F101
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Am I missing something here?
<p>I have a method in my main server implementation object, which returns
to the client an object reference:
<p>PropertyGroupServer_ptr RegistryServer_impl::getRootGroupServer()
<br>{
<br> return rootGroup_->_this();
<br>}
<p>When called by a client, an INV_OBJREF is thrown. If I change
the method to
<p>{
<br> return PropertyGroupServer::_nil();
<br>}
<p>No problem. What am I missing. rootGroup_ at the point
this method can be called is known to point to PropertyGroupServer_impl.
<p>Thanks
<p>Befuddled.
<br>
<pre>--
| Rob Cecil | Senior Development Engineer |
| rceci@adams.com | Product Development |
| (734) 913-9351 | Mechanical Dynamics, Inc. (www.adams.com) |
--------------------------------------------------------------------
Modern Quantum Physics has found that the universe is composed of
25% protons, 15% electrons, 15% neutrons, and 45% morons.</pre>
</html>
--------------22366FC079E6BEBAE379F101--