TransferMonitor (Java Globus API)
org.globus.ftp.vanilla
Class TransferMonitor
java.lang.Object
|
+--java.lang.Thread
|
+--org.globus.ftp.vanilla.TransferMonitor
All Implemented Interfaces: java.lang.Runnable
public class TransferMonitor extends java.lang.Thread
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Method Summary
void
abort ()
Abort the tpt transfer
but do not close resources
java.lang.String
getLoggerName ()
In this class, each instance gets a separate logger which is
assigned the name in the constructor.
void
run ()
void
setOther (TransferMonitor other)
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
LOCAL
public static int LOCAL
REMOTE
public static int REMOTE
TransferMonitor
public TransferMonitor (BasicClientControlChannel controlChannel,
TransferState transferState,
MarkerListener mListener,
int maxWait,
int ioDelay,
int side)
getLoggerName
public java.lang.String getLoggerName ()
In this class, each instance gets a separate logger which is
assigned the name in the constructor.
This name is in the form "...GridFTPClient.thread host:port".
Returns: the logger name.
setOther
public void setOther (TransferMonitor other)
abort
public void abort ()
Abort the tpt transfer
but do not close resources
run
public void run ()
Specified by: run in interface java.lang.RunnableOverrides: run in class java.lang.Thread