nl.toolforge.core.util.net
Class PingThread

java.lang.Object
  extended byjava.lang.Thread
      extended bynl.toolforge.core.util.net.PingThread
All Implemented Interfaces:
java.lang.Runnable

public class PingThread
extends java.lang.Thread

Version:
$Id: PingThread.java,v 1.2 2004/11/02 23:57:07 asmedes Exp $
Author:
D.A. Smedes

Field Summary
static int DEFAULT_TIMEOUT
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PingThread(java.lang.String host, int port)
           
 
Method Summary
 boolean pingOk()
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_TIMEOUT

public static final int DEFAULT_TIMEOUT
See Also:
Constant Field Values
Constructor Detail

PingThread

public PingThread(java.lang.String host,
                  int port)
Method Detail

run

public void run()

pingOk

public boolean pingOk()


Copyright © 2002-2006 Toolforge. All Rights Reserved.