Re: [Quickfix-developers] ThreadedSocketInitiator
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2004-04-14 19:16:28
|
You can always call Session.sendToTarget without serialization. The=20 Threaded refers to how it manages the sessions. With a regular=20 SocketInitiator, all sessions share the same thread for processing=20 events. With the ThreadedSocketInitiator, each session processes=20 events in its own thread. This means that you would have to=20 synchronize the callback methods to your Application class. --oren On Apr 14, 2004, at 12:54 PM, Shivakumar Keshavamurthy wrote: > Has anyone used=A0 "ThreadedSocketInitiator"?=A0 How is it different = from=20 > the "SocketInitiator"? > Can I call "Session.sendToTarget" from multiple threads without=20 > serialization? > > thanks > shivakumar > > =20= |