|
From: Minh K. <min...@gm...> - 2020-05-08 16:06:13
|
Thank you for your reply. Yes, I need the procedure for acceptor sessions, pls help me with that. Thank u so much. Vào Th 5, 7 thg 5, 2020 vào lúc 21:34 Colin DuPlantis < co...@ma...> đã viết: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > Yes, it's possible to add and remove sessions after start. The procedure > is different for initiator and acceptor sessions. > > For initiator sessions, it looks something like this: > > quickfix.Session newSession = sessionFactory.create(newSessionId, > sessionSettings); > quickfix.ThreadedSocketInitiator newInitiator = new > quickfix.ThreadedSocketInitiator(this, > > fixSettingsProvider.getMessageStoreFactory(sessionSettings), > > sessionSettings, > > fixSettingsProvider.getLogFactory(sessionSettings), > > fixSettingsProvider.getMessageFactory()); > newInitiator.start(); > > It's a little more complicated for acceptor sessions, so, let me know if > you need that. > On 5/7/20 1:00 AM, Minh Kha wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Hi team, > > Is there any way to replace a SessionID by a new one, after create the > SessionSetting instance ? > > Pls advise ! Thank you in advance. > > -- > *Phan Nguyen Minh Kha* > min...@gm... / 0938499460 > > > _______________________________________________ > Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users > > -- > Colin DuPlantis > Chief Architect, Marketcetera > Download, Run, Trade > 888.868.4884https://www.marketcetera.com > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- *Phan Nguyen Minh Kha* min...@gm... / 0938499460 |