[omniORB] omniORBpy actions on missing servant method
Jim Bell
Jim at JC-Bell.com
Mon Jan 4 23:28:19 UTC 2021
It was the server side I was thinking about. And jumping through a hoop
or two for a unit-test's sake would probably be fine. (Like making a
call to each function in the interface.)
Does the python caller get the NO_IMPLEMENT only on the unimplemented
function(s)? Or when the interface is narrowed? (Or other?)
Thanks,
-Jim
On 2021-01-04 12:20 PM, Duncan Grisby wrote:
> On Sun, 2021-01-03 at 07:50 -0600, Jim Bell via omniORB-list wrote:
>> When the orb encounters a servant that's missing a method, I see it
>> puts this on stderr:
>>
>>> omniORB: (50) 2021-01-03 07:32:20.582000: Python servant for
>>> `A:B/C:1.0' has no method named `D'.
>> I'd like to build unit tests that fail on this condition, though.
>> So can I hook something to determine this?
> The caller will get a CORBA.NO_IMPLEMENT exception. Can you catch that
> in your tests? Or do you need something on the server side?
>
> Duncan.
>
More information about the omniORB-list
mailing list