com.ibm.network.ftp.protocol
Class Remote

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.ibm.network.ftp.protocol.Remote
All Implemented Interfaces:
java.lang.Runnable

public class Remote
extends java.lang.Thread

This class presents remote machine.


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected Remote(FTPProtocol parent)
          The constructor of the Remote class.
 
Method Summary
 void abort()
          The method interrupts current operation.
 void configureSocks(java.lang.String socksHost, java.lang.String port)
          The method configures parameters for proxy.
 java.lang.String getPortString()
          Gets the server port number.
protected  java.lang.String getRemoteCurrentDir()
          This method was created by a SmartGuide.
protected  java.util.Vector getRemoteFileList()
          This method was created by a SmartGuide.
 java.lang.String getSystem()
          Gets the serverOS Added 7/99 TParker
protected  java.lang.String getType()
          This method was created in VisualAge.
 void run()
          This method performs FTP operations.
 void setPortString(java.lang.String port)
          Sets the server port number.
 void start()
          The method is overwriten from java.lang.Thread.
 void start(java.lang.String command, java.util.Vector param)
          This method is intended for start of command performing.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Remote

protected Remote(FTPProtocol parent)
The constructor of the Remote class.
Parameters:
parent - com.ibm.network.ftp.protocol.FTPProtocol
Method Detail

abort

public void abort()
The method interrupts current operation.

configureSocks

public void configureSocks(java.lang.String socksHost,
                           java.lang.String port)
The method configures parameters for proxy.
Parameters:
socksHost - java.lang.String
port - int

getPortString

public java.lang.String getPortString()
Gets the server port number. NB it returns a String, and not an int.
Returns:
String

getRemoteCurrentDir

protected java.lang.String getRemoteCurrentDir()
This method was created by a SmartGuide.

getRemoteFileList

protected java.util.Vector getRemoteFileList()
This method was created by a SmartGuide.
Returns:
java.util.Vector

getSystem

public java.lang.String getSystem()
Gets the serverOS Added 7/99 TParker
Returns:
String indicating the server OS

getType

protected java.lang.String getType()
This method was created in VisualAge.
Returns:
java.lang.String

run

public void run()
This method performs FTP operations.
Overrides:
run in class java.lang.Thread

setPortString

public void setPortString(java.lang.String port)
Sets the server port number. NB it accepts a String, and not an int.
Parameters:
port - int

start

public void start()
The method is overwriten from java.lang.Thread.
Overrides:
start in class java.lang.Thread

start

public void start(java.lang.String command,
                  java.util.Vector param)
This method is intended for start of command performing.