Class FtpDataTransiverImpl
- java.lang.Object
-
- org.exoplatform.services.ftp.data.FtpDataTransiverImpl
-
- All Implemented Interfaces:
FtpDataTransiver
public class FtpDataTransiverImpl extends Object implements FtpDataTransiver
Created by The eXo Platform SAS Author : Vitaly Guly gavrik-vetal@ukr.net/mail.ru- Version:
- $Id: $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classFtpDataTransiverImpl.AcceptDataConnectprotected classFtpDataTransiverImpl.ConnectDataPort
-
Constructor Summary
Constructors Constructor Description FtpDataTransiverImpl(String host, int dataPort, FtpConfig configuration, FtpClientSession clientSession)FtpDataTransiverImpl(FtpDataChannelManager dataChannelManager, int dataPort, FtpConfig configuration, FtpClientSession clientSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intgetDataPort()InputStreamgetInputStream()OutputStreamgetOutputStream()booleanisConnected()
-
-
-
Constructor Detail
-
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 Detail
-
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
public OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStreamin interfaceFtpDataTransiver- Throws:
IOException
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStreamin interfaceFtpDataTransiver- Throws:
IOException
-
-