Re: [Quickfix-users] Making some progress... thank you.. and another query
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2006-10-10 23:14:28
|
The file log factory needs to take in a directory, not a file. In that directory it will create logfiles for the engine and your sessions. As an acceptor, you will be waiting for an initiator to connect and send a logon to you. --oren On Oct 10, 2006, at 6:06 PM, cstrader232 wrote: > Thanks for helping me get started. I've made some progress. > > I now have my acceptor running (see my code below). However, it > doesn't seem that any of the events (toapp, fromapp, fromAdmin etc) > are firing, nor is any log being written (screen or file). > > I'm assuming I next need to try to create a logon message? But I > can't quite figure out how to do that. > > Thanks for your patience.... > > chuck > > Dim sessionSettings As New SessionSettings("C: > \fixsessioninitiator.txt") ' CmdArgs(0)) > > Dim application As New Application > > Dim storeFactory As New FileStoreFactory(sessionSettings) > > Dim logFactory As New ScreenLogFactory(sessionSettings) > > Dim FileFactory As New FileLogFactory("c:\fixlog.txt") > > Dim messageFactory As New DefaultMessageFactory > > Dim acceptor As New SocketInitiator _ > > (application, storeFactory, sessionSettings, logFactory, > messageFactory) > > acceptor.start() |