[omniORB] Is it imperative to keep client and server interface in sync?

Duncan Grisby duncan at grisby.org
Thu Jan 8 15:47:24 GMT 2004


On Wednesday 7 January, "Rolf C Stadheim" wrote:

> I was wondering how important it is to keep the stubs and skeletons
> in sync, between client and server?

[...]
> Now, if I use this new client, but only call the original
> someMethod1() (the servant naturally does not know anything about
> someMethod2()), what are the consequences, if any?

It will work fine. GIOP puts the operation name in its messages, so as
long as you don't change the types involved, it will work. If you call
someMethod2, you will get a BAD_OPERATION exception from omniORB. It's
not impossible that other server-side ORBs would blow up.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list