openr66.server
Class LogExport

java.lang.Object
  extended by openr66.server.LogExport
All Implemented Interfaces:
Runnable

public class LogExport
extends Object
implements Runnable

Log Export from a local client without database connection

Author:
Frederic Bregier

Field Summary
protected  boolean clean
           
protected  R66Future future
           
protected  NetworkTransaction networkTransaction
           
protected  boolean purgeLog
           
protected static boolean sclean
           
protected static boolean spurgeLog
           
protected static Timestamp sstart
           
protected static Timestamp sstop
           
protected  Timestamp start
           
protected  Timestamp stop
           
 
Constructor Summary
LogExport(R66Future future, boolean purgeLog, boolean clean, Timestamp start, Timestamp stop, NetworkTransaction networkTransaction)
           
 
Method Summary
protected static boolean getParams(String[] args)
           
static void main(String[] args)
           
 void run()
          Prior to call this method, the pipeline and NetworkTransaction must have been initialized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

future

protected final R66Future future

purgeLog

protected final boolean purgeLog

start

protected final Timestamp start

stop

protected final Timestamp stop

clean

protected final boolean clean

networkTransaction

protected final NetworkTransaction networkTransaction

spurgeLog

protected static boolean spurgeLog

sstart

protected static Timestamp sstart

sstop

protected static Timestamp sstop

sclean

protected static boolean sclean
Constructor Detail

LogExport

public LogExport(R66Future future,
                 boolean purgeLog,
                 boolean clean,
                 Timestamp start,
                 Timestamp stop,
                 NetworkTransaction networkTransaction)
Method Detail

run

public void run()
Prior to call this method, the pipeline and NetworkTransaction must have been initialized. It is the responsibility of the caller to finish all network resources.

Specified by:
run in interface Runnable

getParams

protected static boolean getParams(String[] args)

main

public static void main(String[] args)


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.