public class FtpClientSessionImpl extends Object implements FtpClientSession
| Constructor and Description |
|---|
FtpClientSessionImpl(FtpServer ftpServer,
Socket clientSocket) |
| Modifier and Type | Method and Description |
|---|---|
String |
changePath(String resPath) |
void |
closeDataTransiver() |
Socket |
getClientSocket() |
FtpDataTransiver |
getDataTransiver() |
FtpServer |
getFtpServer() |
ArrayList<String> |
getFullPath(String resPath) |
ArrayList<String> |
getPath() |
String |
getPrevCommand() |
String |
getPrevParams() |
String |
getPrevParamsEx() |
String |
getRepoPath(ArrayList<String> repoPath) |
String |
getServerIp() |
javax.jcr.Session |
getSession(String workspaceName) |
String |
getUserName() |
String |
getUserPassword() |
boolean |
isLogged() |
void |
logout() |
void |
refreshTimeOut() |
void |
reply(String replyString) |
void |
setDataTransiver(FtpDataTransiver newTransiver) |
void |
setPassword(String userPass) |
void |
setPrevCommand(String prevCommand) |
void |
setPrevParams(String prevParams) |
void |
setPrevParamsEx(String prevParamsEx) |
void |
setUserName(String userName) |
protected void |
welcomeClient() |
public Socket getClientSocket()
getClientSocket in interface FtpClientSessionpublic void reply(String replyString) throws IOException
reply in interface FtpClientSessionIOExceptionpublic FtpServer getFtpServer()
getFtpServer in interface FtpClientSessionprotected void welcomeClient()
throws IOException
IOExceptionpublic void logout()
logout in interface FtpClientSessionpublic boolean isLogged()
isLogged in interface FtpClientSessionpublic void setUserName(String userName)
setUserName in interface FtpClientSessionpublic void setPassword(String userPass) throws Exception
setPassword in interface FtpClientSessionExceptionpublic String getUserName()
getUserName in interface FtpClientSessionpublic String getUserPassword()
getUserPassword in interface FtpClientSessionpublic String getServerIp()
getServerIp in interface FtpClientSessionpublic void setDataTransiver(FtpDataTransiver newTransiver)
setDataTransiver in interface FtpClientSessionpublic void closeDataTransiver()
closeDataTransiver in interface FtpClientSessionpublic FtpDataTransiver getDataTransiver()
getDataTransiver in interface FtpClientSessionpublic void setPrevCommand(String prevCommand)
setPrevCommand in interface FtpClientSessionpublic void setPrevParams(String prevParams)
setPrevParams in interface FtpClientSessionpublic void setPrevParamsEx(String prevParamsEx)
setPrevParamsEx in interface FtpClientSessionpublic String getPrevCommand()
getPrevCommand in interface FtpClientSessionpublic String getPrevParams()
getPrevParams in interface FtpClientSessionpublic String getPrevParamsEx()
getPrevParamsEx in interface FtpClientSessionpublic ArrayList<String> getFullPath(String resPath)
getFullPath in interface FtpClientSessionpublic String getRepoPath(ArrayList<String> repoPath)
getRepoPath in interface FtpClientSessionpublic javax.jcr.Session getSession(String workspaceName) throws Exception
getSession in interface FtpClientSessionExceptionpublic String changePath(String resPath)
changePath in interface FtpClientSessionpublic ArrayList<String> getPath()
getPath in interface FtpClientSessionpublic void refreshTimeOut()
refreshTimeOut in interface FtpClientSessionCopyright © 2016 eXo Platform SAS. All Rights Reserved.