weka4ws.core
Class HostCheckThread

java.lang.Object
  extended byjava.lang.Thread
      extended byweka4ws.core.HostCheckThread
All Implemented Interfaces:
java.lang.Runnable

public class HostCheckThread
extends java.lang.Thread

Tries to establish a series of connections in order to check whether a given host is suitable for globus transactions.

Author:
Marco Lackovic

Field Summary
static int TIME_OUT
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
HostCheckThread(java.lang.String host, java.lang.String servicePort, java.lang.String gridFTPPort, java.lang.String logging)
           
 
Method Summary
 java.lang.String getGridFTPPort()
           
 java.lang.String getHost()
           
 java.lang.String getLogging()
           
 java.lang.String getMessage()
           
 java.lang.String getServicePort()
           
 boolean isFunctional()
           
 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TIME_OUT

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

HostCheckThread

public HostCheckThread(java.lang.String host,
                       java.lang.String servicePort,
                       java.lang.String gridFTPPort,
                       java.lang.String logging)
Method Detail

run

public void run()

getHost

public java.lang.String getHost()

getServicePort

public java.lang.String getServicePort()

getGridFTPPort

public java.lang.String getGridFTPPort()

getLogging

public java.lang.String getLogging()

getMessage

public java.lang.String getMessage()

isFunctional

public boolean isFunctional()