Re: communicating objects



Hi Thomas,

On Tue, 2004-01-20 at 19:36, Thomas Fritz wrote:
> does ORBit2 support calling an object's method from within an other
> object's method? (I tried this with no success)

	Yes of course; it does this re-enterantly by default; but if you have
exotic threading policies it uses those.

> If it does, is there some sample code? 

	Well; the test code is full of nasty hacks not to be copied, but to
prove it works see ORBit2/test/everything/client.c and pingServer.c
particularly _pingPong - which passes a token back/forth umpteen times.

	I guess your bug is unrelated; try building ORBit2 from clean
configured with --enable-debug=true; export ORBIT2_DEBUG=traces re-run
the clients and see what's going on wrt. method invocations.

	HTH,

		Michael.

-- 
 michael@ximian.com  <><, Pseudo Engineer, itinerant idiot




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