public abstract class BasicClientControlChannel
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
WAIT_FOREVER |
| Constructor and Description |
|---|
BasicClientControlChannel() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
abortTransfer() |
abstract Reply |
read() |
void |
waitFor(Flag flag,
int waitDelay)
Return when reply is waiting
|
abstract void |
waitFor(Flag flag,
int waitDelay,
int maxWait)
Block until reply is waiting in the control channel,
or after timeout (maxWait), or when flag changes to true.
|
public static final int WAIT_FOREVER
public abstract Reply read() throws ServerException, java.io.IOException, FTPReplyParseException
ServerExceptionjava.io.IOExceptionFTPReplyParseExceptionpublic void waitFor(Flag flag, int waitDelay) throws ServerException, java.io.IOException, java.lang.InterruptedException
ServerExceptionjava.io.IOExceptionjava.lang.InterruptedExceptionpublic abstract void waitFor(Flag flag, int waitDelay, int maxWait) throws ServerException, java.io.IOException, java.lang.InterruptedException
maxWait - timeout in milisecondsServerExceptionjava.io.IOExceptionjava.lang.InterruptedExceptionpublic abstract void abortTransfer()
Copyright © 2013. All Rights Reserved.