tools.ping
Class PingMotor

java.lang.Object
  extended by java.lang.Thread
      extended by tools.ping.PingMotor
All Implemented Interfaces:
java.lang.Runnable

public class PingMotor
extends java.lang.Thread

Clase que ejecuta el Hilo para realizar el ping al host indicado tomando en cuenta la versión del Protocolo IP

Author:
Kathleen S. Jiménez D. & William E. López L.
Contact: adminucvngn@gmail.com
Oficial Page: http://adminucvngn.sourceforge.net/
News & Weblog: http://adminucvngn.blogspot.com/

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 int fin
           
 Mensajes msj
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PingMotor(PingPanel pa)
           
 
Method Summary
 void detener()
          Detiene la ejecución del hilo emisor
 void run()
          Es invocado al iniciar el hilo que corre en paralelo.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fin

public int fin

msj

public Mensajes msj
Constructor Detail

PingMotor

public PingMotor(PingPanel pa)
Method Detail

run

public void run()
Es invocado al iniciar el hilo que corre en paralelo. Su función es realizar las n repeticiones a la llamada del método ping o ponerlo a correr en un ciclo infinito hasta que se detenga manualmente

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

detener

public void detener()
Detiene la ejecución del hilo emisor