Class FtpDataTransiverImpl
java.lang.Object
org.exoplatform.services.ftp.data.FtpDataTransiverImpl
- All Implemented Interfaces:
FtpDataTransiver
Created by The eXo Platform SAS Author : Vitaly Guly gavrik-vetal@ukr.net/mail.ru
- Version:
- $Id: $
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected class -
Constructor Summary
ConstructorsConstructorDescriptionFtpDataTransiverImpl(String host, int dataPort, FtpConfig configuration, FtpClientSession clientSession) FtpDataTransiverImpl(FtpDataChannelManager dataChannelManager, int dataPort, FtpConfig configuration, FtpClientSession clientSession) -
Method Summary
-
Constructor Details
-
FtpDataTransiverImpl
public FtpDataTransiverImpl(FtpDataChannelManager dataChannelManager, int dataPort, FtpConfig configuration, FtpClientSession clientSession) throws Exception - Throws:
Exception
-
FtpDataTransiverImpl
public FtpDataTransiverImpl(String host, int dataPort, FtpConfig configuration, FtpClientSession clientSession) throws Exception - Throws:
Exception
-
-
Method Details
-
getDataPort
public int getDataPort()- Specified by:
getDataPortin interfaceFtpDataTransiver
-
isConnected
public boolean isConnected()- Specified by:
isConnectedin interfaceFtpDataTransiver
-
close
public void close()- Specified by:
closein interfaceFtpDataTransiver
-
getOutputStream
- Specified by:
getOutputStreamin interfaceFtpDataTransiver- Throws:
IOException
-
getInputStream
- Specified by:
getInputStreamin interfaceFtpDataTransiver- Throws:
IOException
-