Class FtpClientSessionImpl
java.lang.Object
org.exoplatform.frameworks.ftpclient.client.FtpClientSessionImpl
- All Implemented Interfaces:
FtpClientSession
Created by The eXo Platform SAS .
- Version:
- $Id: $
- Author:
- Vitaly Guly
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Socketprotected FtpDataTransiverprotected Stringprotected intprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanconnect()booleanconnect(int attemptsCount) intexecuteCommand(FtpCommand command) intexecuteCommand(FtpCommand command, int expectReply, int attemptsCount) voidsetDataTransiver(FtpDataTransiver dataTransiver) voidsetSystemType(String systemType)
-
Field Details
-
host
-
port
protected int port -
clientSocket
-
systemType
-
dataTransiver
-
-
Constructor Details
-
FtpClientSessionImpl
-
-
Method Details
-
connect
- Specified by:
connectin interfaceFtpClientSession- Throws:
Exception
-
connect
- Specified by:
connectin interfaceFtpClientSession- Throws:
Exception
-
close
public void close()- Specified by:
closein interfaceFtpClientSession
-
getClientSocket
- Specified by:
getClientSocketin interfaceFtpClientSession
-
executeCommand
- Specified by:
executeCommandin interfaceFtpClientSession- Throws:
Exception
-
executeCommand
- Specified by:
executeCommandin interfaceFtpClientSession- Throws:
Exception
-
setSystemType
- Specified by:
setSystemTypein interfaceFtpClientSession
-
getSystemType
- Specified by:
getSystemTypein interfaceFtpClientSession
-
setDataTransiver
- Specified by:
setDataTransiverin interfaceFtpClientSession
-
getDataTransiver
- Specified by:
getDataTransiverin interfaceFtpClientSession
-