|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--gnu.inet.ftp.Getter
|
+--gnu.inet.ftp.ActiveGetter
This class implements an FTP-style data connection server thread for GETing files/data non-passively.
This class is used internally to the FtpClient class.
| Fields inherited from class gnu.inet.ftp.Getter |
BUFFER_SIZE, cancelled, connectionListeners, mode, ostream, transferListeners, type |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
ActiveGetter(java.io.OutputStream out)
Create a new ActiveGetter with the given OutputStream for data output. |
|
| Method Summary | |
java.net.InetAddress |
getInetAddress()
get the local IP address that this ActiveGetter is listening on |
int |
getPort()
get the local port this ActiveGetter is listening on |
void |
run()
get data from server using given parameters. |
void |
setTimeout(int milliseconds)
Set the connection timeout in milliseconds. |
| Methods inherited from class gnu.inet.ftp.Getter |
addConnectionListener, addConnectionListeners, addTransferListener, addTransferListeners, cancel, removeConnectionListener, removeTransferListener, setDebug, setMode, setOutputStream, setType, signalConnectionClosed, signalConnectionFailed, signalConnectionOpened, signalTransferCompleted, signalTransfered, signalTransferStarted, start |
| 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 |
public ActiveGetter(java.io.OutputStream out)
throws java.io.IOException
java.io.IOException - an IO error occurred with the ServerSocket| Method Detail |
public int getPort()
public java.net.InetAddress getInetAddress()
public void setTimeout(int milliseconds)
milliseconds - the socket timeout value in millisecondspublic void run()
run in class java.lang.Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||