[Quickfix-developers] Re: QuickFIX NullStore
Brought to you by:
orenmnero
|
From: Brendan B. <bbo...@rg...> - 2006-06-01 20:01:52
|
Oren,
Here is NullStore.tar.bz2 containing:
./src/.NET/NullMessageStore.cpp
./src/.NET/NullMessageStore.h
./src/C++/NullStore.cpp
./src/C++/NullStore.h
./src/java/quickfix_NullStore.cpp
./src/java/quickfix_NullStore.h
./src/java/quickfix_NullStoreFactory.cpp
./src/java/quickfix_NullStoreFactory.h
./src/java/src/quickfix/NullStore.java
./src/java/src/quickfix/NullStoreFactory.java
Regards,
Brendan
On Jun 1, 2006, at 2:41 PM, or...@qu... wrote:
> Thank you for the contribution. You can post it to the
> quickfix-developers mailing list.
On Thu, June 01, 2006 1:18 pm Brendan wrote:
> Thanks for the reply and direction. Based on your feedback I created
> a NullStore C++ class and Java & C# wrappers (haven't tested the C#
> wrapper).
>
> I apologize for the delay in reply - I thought I'd have this done
> 'real quick' and be able to provide my implementation along with it
> (for inclusion in QuickFIX).
>
> My company is ok with my making this source available - how
> can I contribute it? (It consists of 10 files).
> On Apr 11, 2006, @ 17:50 oren replied:
> >
> > Yeah, I've implemented this sort of thing for market data projects
> > (not sure where it is at the moment unfortunately). It would
probably
> > be useful to distribute such a thing with quickfix.
> >
> > If you don't care about overhead (either memory or disk writes),
then
> > you can use either of those stores if you use the ResetOnDisconnect
> > and ResetOnLogout settings. These will make sure your sequence
> > numbers get reset to 1 no matter what store you use. If you are
> > worried about the overhead, then what should work would be to
> > implement some sort of NullStore which implements the sequence/
> > creation time methods like the memory store. Then just make the
set
> > () method do nothing, and have the get() method always return an
empty
> > vector. Then using those two configuration settings you should get
> > the effect you are looking for.
>
> > On Apr 11, 2006, at 7:23 PM, Brendan Boerner wrote:
> >
> > > In our application using QuickFIX I'm creating a FIX 4.2
server which
> > > will send MarketDataSnapshotFullRefresh messages to a client.
> > >
> > > In this application we don't wish to store messages if the
client is
> > > disconnected - the client will simply receive current
> > > MarketDataSnapshotFullRefresh messages as become available
after it
> > > connects, restarting with MsgSeqNum=1.
> > >
> > > I didn't see anything in {File,Memory}MessageStore which would
> > > implement this. I wanted to check w/the list to see if I'll
need to
> > > implement my own implementation of MessageStoreFactory and
> > > MessageStore or have I overlooked something?
|