protected class FTPServerFacade.LocalControlChannel extends BasicClientControlChannel implements BasicServerControlChannel
WAIT_FOREVER| Constructor and Description |
|---|
FTPServerFacade.LocalControlChannel() |
| Modifier and Type | Method and Description |
|---|---|
void |
abortTransfer() |
int |
getReplyCount() |
protected Reply |
pop() |
protected void |
push(Reply newReply) |
Reply |
read() |
boolean |
ready() |
void |
resetReplyCount()
set reply count to 0.
|
void |
waitFor(Flag aborted,
int ioDelay,
int maxWait)
Block until reply is waiting in the control channel,
or after timeout (maxWait), or when flag changes to true.
|
void |
write(Reply reply)
write reply to the control channel
|
waitForprotected void push(Reply newReply)
protected Reply pop() throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic boolean ready()
public int getReplyCount()
getReplyCount in interface BasicServerControlChannelpublic void resetReplyCount()
BasicServerControlChannelresetReplyCount in interface BasicServerControlChannelpublic Reply read() throws java.io.IOException, FTPReplyParseException, ServerException
read in class BasicClientControlChanneljava.io.IOExceptionFTPReplyParseExceptionServerExceptionpublic void write(Reply reply)
BasicServerControlChannelwrite in interface BasicServerControlChannelpublic void waitFor(Flag aborted, int ioDelay, int maxWait) throws ServerException, java.io.IOException, java.lang.InterruptedException
BasicClientControlChannelwaitFor in class BasicClientControlChannelmaxWait - timeout in milisecondsServerExceptionjava.io.IOExceptionjava.lang.InterruptedExceptionpublic void abortTransfer()
abortTransfer in class BasicClientControlChannelCopyright © 2013. All Rights Reserved.