[omniORB] I can't use bidir correctly
Slava Garelin
garelin@ukr.net
Wed Jul 3 12:48:01 2002
On Wednesday 03 July 2002 13:57, Duncan Grisby wrote:
> On Friday 28 June, Slava Garelin wrote:
> > I use modified version eg2_clt and eg2_impl from src/example/echo
> > dir. These changes add POA in the client and remove an entrance in
> > orb-> run () in the server.
>
> I've looked into this, and bidirectional GIOP is working fine. The
> only bit that isn't working is cleaning up on orb->destroy(), which
> causes the problems you are seeing. Obviously I need to fix that, but
> I probably won't have time this week.
>
> You may be failing to realise that you need to create POAs with the
> bidirectional policy on both client and server sides before
> bidirectional is used. I've included a patch for the callback example
> that makes it use bidirectional GIOP. Here's a relevant snippet from
> the server-side trace:
Yes, you are completely right, I did not know about existence BiDirPolicy::
BIDIRECTIONAL_POLICY_TYPE. Prompt in what manual I can read about it in more
detail? In particular interests sense BidirectionalPolicyValue NORMAL and
BOTH?
--
Slava Garelin