Re: multiple client connections



Hi Rolf,

On Thu, 2002-09-19 at 09:34, Rolf Herzog wrote:
> I am new to CORBA, so this is probably a FAQ:

	Not a FAQ, sounds very odd to me:

> I have a server, that instantiates one factory object. The client uses
> this object to get another object, does something useful with it und
> destroys it afterwards. This works fine. The problem occurs when I start
> a second client. This second one cannot use the facory. It blocks as
> long as the other client is finished, even if the first client needs
> the factory only for a short time. Is there a way to disconnect the
> client from the factory object so that other clients can use ist? 

	As long as the other client is finished ? - or until the other client
is finished ?

	Ultimately it seems likely to me that the object your factory produces
has some method like 'Sleep1000' on it, and it's executing this that
blocks the ORB from responding to the incoming request.

	What does your client object do ? there are several possible solutions,
probably the best is asynchronous I/O for the blocking method, another
is to use threads by using ORBit-mt.

	Regards,

		Michael.

-- 
 mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot




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