[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-user
Subject:    RE: XmlRpcClient synchronization
From:       "Karnes, Derek" <derek.karnes () ngc ! com>
Date:       2005-04-14 14:33:40
Message-ID: 362EB7A33DAA1B4F8BF4E1DEEA0628042DC0DB () xcgv2607 ! northgrum ! com
[Download RAW message or body]

That only depends on what your methods are doing besides calling
XmlRpcClient.execute() - that call is thread safe, you can call it from
one or many threads safely. 

-----Original Message-----
From: Massive Boisson [mailto:massive.boisson@gmail.com] 
Sent: Wednesday, April 13, 2005 7:04 PM
To: xmlrpc-user@ws.apache.org
Subject: XmlRpcClient synchronization

Hi all;
 
Class XmlRpcClient states it is "a multithreaded, reusable XML-RPC
client object".
 
I have a question:

2 different threads in my program might access same method on the same
port of the same server. Should I synchronize methods on client side in
my handler?
 
--MB
 


--
--MB

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic