openlsd.multiple.admin.commoncheck.limit
Class LSDCheckPathThreadedDualML

java.lang.Object
  extended by openlsd.server.admin.commoncheck.limit.LSDCheckPathThreadedDual
      extended by openlsd.multiple.admin.commoncheck.limit.LSDCheckPathThreadedDualML
All Implemented Interfaces:
java.lang.Runnable

public class LSDCheckPathThreadedDualML
extends LSDCheckPathThreadedDual

Extended class to support OpHandler in repair

Author:
Frederic BREGIER LGPL 2008

Field Summary
protected  long idip
          ML Support: idip as the idip of the local server to use (as checked) if the check should use OpHandler function to correct problem.
protected  long opFix
          ML Support: OpFix as the idip of the remote server to use (as valid) if the check should use OpHandler function to correct problem.
 
Constructor Summary
LSDCheckPathThreadedDualML(LSDDbAdmin admin, LSDLegacy lsdlegacy, java.io.File dirsource, LSDDbControl control, java.sql.Timestamp limitdate, boolean repairdb, boolean repairlsd, boolean repairupdb)
           
LSDCheckPathThreadedDualML(LSDDbAdmin admin, LSDLegacy lsdlegacy, java.io.File dirsource, LSDDbControl control, java.sql.Timestamp limitdate, boolean repairdb, boolean repairlsd, boolean repairupdb, long opfix, long idip)
           
 
Method Summary
protected  void checkBothSides(LSDDbAdmin admin, LSDLegacy lsdlegacy, java.sql.Timestamp opdate, java.sql.Timestamp limitdate, boolean repairdb, boolean repairlsd, boolean repairupdb)
          Take into account opFix and checkBothSides using a new CheckCommonDualML (extends)
 
Methods inherited from class openlsd.server.admin.commoncheck.limit.LSDCheckPathThreadedDual
getLSDFiles, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

opFix

protected long opFix
ML Support: OpFix as the idip of the remote server to use (as valid) if the check should use OpHandler function to correct problem.


idip

protected long idip
ML Support: idip as the idip of the local server to use (as checked) if the check should use OpHandler function to correct problem.

Constructor Detail

LSDCheckPathThreadedDualML

public LSDCheckPathThreadedDualML(LSDDbAdmin admin,
                                  LSDLegacy lsdlegacy,
                                  java.io.File dirsource,
                                  LSDDbControl control,
                                  java.sql.Timestamp limitdate,
                                  boolean repairdb,
                                  boolean repairlsd,
                                  boolean repairupdb)
Parameters:
admin -
lsdlegacy -
dirsource -
control -
limitdate -
repairdb -
repairlsd -
repairupdb -

LSDCheckPathThreadedDualML

public LSDCheckPathThreadedDualML(LSDDbAdmin admin,
                                  LSDLegacy lsdlegacy,
                                  java.io.File dirsource,
                                  LSDDbControl control,
                                  java.sql.Timestamp limitdate,
                                  boolean repairdb,
                                  boolean repairlsd,
                                  boolean repairupdb,
                                  long opfix,
                                  long idip)
Parameters:
admin -
lsdlegacy -
dirsource -
control -
limitdate -
repairdb -
repairlsd -
repairupdb -
opfix -
idip -
Method Detail

checkBothSides

protected void checkBothSides(LSDDbAdmin admin,
                              LSDLegacy lsdlegacy,
                              java.sql.Timestamp opdate,
                              java.sql.Timestamp limitdate,
                              boolean repairdb,
                              boolean repairlsd,
                              boolean repairupdb)
Take into account opFix and checkBothSides using a new CheckCommonDualML (extends)

Overrides:
checkBothSides in class LSDCheckPathThreadedDual
See Also:
LSDCheckPathThreadedDual.checkBothSides(openlsd.database.session.LSDDbAdmin, openlsd.network.server.legacy.LSDLegacy, java.sql.Timestamp, java.sql.Timestamp, boolean, boolean, boolean)