|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.FtpSessionImpl
public class FtpSessionImpl
FTP session
Constructor Summary | |
---|---|
FtpSessionImpl(FtpIoSession ioSession)
Default constructor. |
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Get attribute |
java.net.InetAddress |
getClientAddress()
Get remote address |
java.security.cert.Certificate[] |
getClientCertificates()
|
java.util.Date |
getConnectionTime()
Get connection time. |
DataConnectionFactory |
getDataConnection()
Get FTP data connection. |
DataType |
getDataType()
Get the data type. |
int |
getFailedLogins()
|
long |
getFileOffset()
Get file offset. |
FileSystemView |
getFileSystemView()
Get file system view. |
java.lang.String |
getLanguage()
Get language. |
java.util.Date |
getLastAccessTime()
Get last access time. |
java.util.Date |
getLoginTime()
Get the login time. |
int |
getMaxIdleTime()
|
FileObject |
getRenameFrom()
Get rename from file object. |
java.net.InetAddress |
getServerAddress()
|
int |
getServerPort()
|
Structure |
getStructure()
Get structure. |
User |
getUser()
Get user. |
java.lang.String |
getUserArgument()
Returns user name entered in USER command |
boolean |
isLoggedIn()
Is logged-in |
void |
removeAttribute(java.lang.String name)
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Set attribute. |
void |
setMaxIdleTime(int maxIdleTime)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FtpSessionImpl(FtpIoSession ioSession)
Method Detail |
---|
public boolean isLoggedIn()
isLoggedIn
in interface FtpSession
public DataConnectionFactory getDataConnection()
getDataConnection
in interface FtpSession
public FileSystemView getFileSystemView()
getFileSystemView
in interface FtpSession
public java.util.Date getConnectionTime()
getConnectionTime
in interface FtpSession
public java.util.Date getLoginTime()
getLoginTime
in interface FtpSession
public java.util.Date getLastAccessTime()
getLastAccessTime
in interface FtpSession
public long getFileOffset()
getFileOffset
in interface FtpSession
public FileObject getRenameFrom()
getRenameFrom
in interface FtpSession
public java.lang.String getUserArgument()
getUserArgument
in interface FtpSession
public java.lang.String getLanguage()
getLanguage
in interface FtpSession
public User getUser()
getUser
in interface FtpSession
public java.net.InetAddress getClientAddress()
getClientAddress
in interface FtpSession
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
in interface FtpSession
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in interface FtpSession
public int getMaxIdleTime()
getMaxIdleTime
in interface FtpSession
public void setMaxIdleTime(int maxIdleTime)
setMaxIdleTime
in interface FtpSession
public DataType getDataType()
getDataType
in interface FtpSession
public Structure getStructure()
getStructure
in interface FtpSession
public java.security.cert.Certificate[] getClientCertificates()
getClientCertificates
in interface FtpSession
public java.net.InetAddress getServerAddress()
getServerAddress
in interface FtpSession
public int getServerPort()
getServerPort
in interface FtpSession
public int getFailedLogins()
getFailedLogins
in interface FtpSession
public void removeAttribute(java.lang.String name)
removeAttribute
in interface FtpSession
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |