pe.gob.sunat.tecnologia.receptor.cliente.forms
Class CheckProcess

java.lang.Object
  extended by java.lang.Thread
      extended by pe.gob.sunat.tecnologia.receptor.cliente.forms.CheckProcess
All Implemented Interfaces:
java.lang.Runnable

public class CheckProcess
extends java.lang.Thread

Verifica en intervalos de un segundo, que todos los envios hayan sido ejecutados, para generar al final un archivo con todos los tickets retornados por el receptor SEIDA.

El archivo generado es creado en el directorio de los acuses.

Author:
JVALDEZ

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  org.apache.commons.logging.Log log
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CheckProcess()
           
 
Method Summary
 void run()
           
 void setAreaMensajes(javax.swing.JTextArea areaMensajes)
           
 void setEnvios(Sender[] envios)
           
 void setRutaArchivos(java.lang.String rutaArchivos)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

CheckProcess

public CheckProcess()
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

setAreaMensajes

public void setAreaMensajes(javax.swing.JTextArea areaMensajes)
Parameters:
areaMensajes - the areaMensajes to set

setEnvios

public void setEnvios(Sender[] envios)
Parameters:
envios - the envios to set

setRutaArchivos

public void setRutaArchivos(java.lang.String rutaArchivos)
Parameters:
rutaArchivos - the rutaArchivos to set