[Quickfix-developers] RE: Quickfix-developers digest, Vol 1 #368 - 1 msg
Brought to you by:
orenmnero
From: Daniel M. <Dan...@ma...> - 2003-11-17 00:01:22
|
Sanjay, The log is optional, and is provided only for your convenience. The store is required and there is the option to use MySQL instead of the native file system. You can define your own LogFactory and dictate how and what gets logged, or not use a log at all. For example, assume you are creating an acceptor (look in executor.cpp as an example). You could either use the provided FIX::ScreenLogFactory(true,true,true), which would log all in messages, out messages, and events to the stdout. Or you could disable in and out messages and only log events with the call FIX::ScreenLogFactory(false,false,true). The Acceptor class has a constructor that allows you to skip logging all together by not specifying a log factory, for example: FIX::SessionSettings settings( file ); Application application; FIX::FileStoreFactory factory( settings ); FIX::SocketAcceptor acceptor( application, factory, settings); The log and the store are independent of each other, look at MySQLStore.cpp/h, FileStore.cpp/h, and MessageStore.cpp/h to get a starting point for implementing your own store. Daniel -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of qui...@li... Sent: Friday, November 14, 2003 11:24 PM To: qui...@li... Subject: Quickfix-developers digest, Vol 1 #368 - 1 msg Send Quickfix-developers mailing list submissions to qui...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/quickfix-developers or, via email, send a message with subject or body 'help' to qui...@li... You can reach the person managing the list at qui...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Quickfix-developers digest..." Today's Topics: 1. Log and Message Store (Verma, Sanjay) --__--__-- Message: 1 From: "Verma, Sanjay" <SV...@Cr...> To: "'qui...@li...'" <qui...@li...> Date: Fri, 14 Nov 2003 17:09:29 -0500 Subject: [Quickfix-developers] Log and Message Store This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=3D_NextPart_001_01C3AAFB.F982ADB0 Content-Type: text/plain; charset=3D"iso-8859-1" Why does QF store messages in a "Log" and a "MessageStore" ? I am trying to write a class that uses Sybase for storing messages and would like to understand the rationale behind using log and store rather than a single store of messages with the necessary funcationality. Thanks. DISCLAIMER e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify me and permanently delete the original and any copy of any e-mail and any printout thereof. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. REGARDING PRIVACY AND CONFIDENTIALITY Crown Financial Group may, at its discretion, monitor and review the content of all e-mail communications. ------_=3D_NextPart_001_01C3AAFB.F982ADB0 Content-Type: text/html; charset=3D"iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D3D"Content-Type" CONTENT=3D3D"text/html; =3D charset=3D3Diso-8859-1"> <META NAME=3D3D"Generator" CONTENT=3D3D"MS = Exchange Server version =3D 5.5.2654.45"> <TITLE>Log and Message Store</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D3D2 FACE=3D3D"Arial">Why does QF store messages in a =3D "Log" and a "MessageStore" ? I am trying to write a =3D class that uses Sybase for storing messages and would like to =3D understand the rationale behind using log and store rather than a =3D single store of messages with the necessary funcationality.</FONT></P> <P><FONT SIZE=3D3D2 FACE=3D3D"Arial">Thanks.</FONT> <BR><FONT SIZE=3D3D2 FACE=3D3D"Arial">DISCLAIMER</FONT> <BR><FONT SIZE=3D3D2 FACE=3D3D"Arial">e-mail, and any attachments thereto, =3D is intended = only for use by the addressee(s) named herein and may =3D contain legally privileged and/or confidential information. If you are =3D not the intended recipient of this e-mail, you are hereby notified that =3D any dissemination, distribution or copying of this e-mail, and any =3D attachments thereto, is strictly prohibited. If you have received this = =3D e-mail in error, please immediately notify me and permanently delete =3D the original and any copy of any e-mail and any printout =3D thereof.</FONT></P> <P><FONT SIZE=3D3D2 FACE=3D3D"Arial">E-mail transmission cannot be =3D guaranteed to be secure or error-free. The sender therefore does not =3D accept liability for any errors or omissions in the contents of this =3D message which arise as a result of e-mail transmission.</FONT></P> <P><FONT SIZE=3D3D2 FACE=3D3D"Arial">REGARDING PRIVACY AND =3D CONFIDENTIALITY</FONT> <BR><FONT SIZE=3D3D2 FACE=3D3D"Arial">Crown = Financial Group may, at its =3D discretion, monitor and review the content of all e-mail =3D communications.</FONT> </P> </BODY> </HTML> ------_=3D_NextPart_001_01C3AAFB.F982ADB0-- --__--__-- _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers End of Quickfix-developers Digest |