|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FtpCmdReader
| Method Summary | |
|---|---|
FtpCmdParser |
getParser()
Getter method for the java bean parser. |
void |
setCtx(FtpSessionContext ctx)
Sets the FTP Context of the session. |
void |
setParser(FtpCmdParser parser)
Setter method for the java bean parser. |
void |
start()
Starts reading command string from the previously passed input stream. |
FtpCmd |
waitForNextCommand(int timeout)
Waits until another command is available. |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Methods inherited from interface net.sf.hermesftp.common.Abortable |
|---|
abort, isTerminated |
| Method Detail |
|---|
void setCtx(FtpSessionContext ctx)
ctx - The context
FtpCmd waitForNextCommand(int timeout)
throws FtpIllegalCmdException,
java.net.SocketTimeoutException
timeout - Timeout in milliseconds.
FtpIllegalCmdException - Thrown if an unknown command token is encountered.
java.net.SocketTimeoutException - Timeout error.FtpCmdParser getParser()
parser.
parser.void setParser(FtpCmdParser parser)
parser.
parser - The value of parser to set.void start()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||