quickfix
Class FileLog

java.lang.Object
  extended by quickfix.FileLog
All Implemented Interfaces:
Log

public class FileLog
extends java.lang.Object

File log implementation. THIS CLASS IS PUBLIC ONLY TO MAINTAIN COMPATIBILITY WITH THE QUICKFIX JNI. IT SHOULD ONLY BE CREATED USING A FACTORY.

See Also:
FileLogFactory

Method Summary
 void clear()
          Deletes the log files.
 void closeFiles()
           
protected  void logIncoming(java.lang.String message)
           
protected  void logOutgoing(java.lang.String message)
           
 void onErrorEvent(java.lang.String message)
          Logs an session error event.
 void onEvent(java.lang.String message)
          Logs a session event.
 void onIncoming(java.lang.String message)
          Logs an incoming message
 void onOutgoing(java.lang.String message)
          Logs an outgoing message
protected  void setLogHeartbeats(boolean logHeartbeats)
           
 void setSyncAfterWrite(boolean syncAfterWrite)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

logIncoming

protected void logIncoming(java.lang.String message)

logOutgoing

protected void logOutgoing(java.lang.String message)

onEvent

public void onEvent(java.lang.String message)
Description copied from interface: Log
Logs a session event.

Parameters:
message - the event description

onErrorEvent

public void onErrorEvent(java.lang.String message)
Description copied from interface: Log
Logs an session error event.

Parameters:
message - the event description

setSyncAfterWrite

public void setSyncAfterWrite(boolean syncAfterWrite)

closeFiles

public void closeFiles()
                throws java.io.IOException
Throws:
java.io.IOException

clear

public void clear()
Deletes the log files. Do not perform any log operations while performing this operation.


setLogHeartbeats

protected void setLogHeartbeats(boolean logHeartbeats)

onIncoming

public final void onIncoming(java.lang.String message)
Description copied from interface: Log
Logs an incoming message

Specified by:
onIncoming in interface Log
Parameters:
message - the raw FIX message string

onOutgoing

public final void onOutgoing(java.lang.String message)
Description copied from interface: Log
Logs an outgoing message

Specified by:
onOutgoing in interface Log
Parameters:
message - the raw FIX message string