Re: Orbit/Java.



On 12 Mar 2002, Frank Rehberger wrote:

> If you dont need any return/out-value you might be fine declaring the
> method as "oneway".  In this case your Java-ORB-server should not send
> any reply-message back to client.
>
> interface Hello {
>   oneway void hello (in string s);
> };

Well, that helps but it is not the right way to fix it because the client
server has to wait until the function call is terminated by the server.

The client works that way :

1/ call init
2/ call other function

and step 2 isn't valid until step 1 is finished.

If I declare the init call "oneway" the client tries to call other
functions before the init phase is done.

So, "oneway" was not a really satisfying solution.

-- 
The system is going down for reboot NOW!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]