|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread net.sf.hermesftp.session.impl.FtpSessionImpl
public class FtpSessionImpl
Default FTP session implementation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
FtpSessionImpl()
Constructor. |
Method Summary | |
---|---|
void |
abort()
Aborts the client session. |
FtpSessionContext |
getFtpContext()
Getter method for the java bean ftpContext . |
boolean |
isTerminated()
Getter method for the java bean terminated . |
void |
run()
|
void |
setCmdReader(FtpCmdReader reader)
Sets the object providing the client's commands. |
void |
setFtpContext(FtpSessionContext ftpContext)
Setter method for the java bean ftpContext . |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.hermesftp.session.FtpSession |
---|
start |
Constructor Detail |
---|
public FtpSessionImpl()
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public FtpSessionContext getFtpContext()
ftpContext
.
getFtpContext
in interface FtpSession
ftpContext
.public void setFtpContext(FtpSessionContext ftpContext)
ftpContext
.
setFtpContext
in interface FtpSession
ftpContext
- The value of ftpContext to set.public void setCmdReader(FtpCmdReader reader)
setCmdReader
in interface FtpSession
reader
- The FTP command reader thread.public boolean isTerminated()
terminated
.
isTerminated
in interface FtpSession
terminated
.public void abort()
FtpSession
abort
in interface FtpSession
FtpSession.abort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |