public class FtpDataTransiverImpl extends Object implements FtpDataTransiver
| Modifier and Type | Class and Description |
|---|---|
protected class |
FtpDataTransiverImpl.AcceptDataConnect |
protected class |
FtpDataTransiverImpl.ConnectDataPort |
| Constructor and Description |
|---|
FtpDataTransiverImpl(FtpDataChannelManager dataChannelManager,
int dataPort,
FtpConfig configuration,
FtpClientSession clientSession) |
FtpDataTransiverImpl(String host,
int dataPort,
FtpConfig configuration,
FtpClientSession clientSession) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getDataPort() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
boolean |
isConnected() |
public FtpDataTransiverImpl(FtpDataChannelManager dataChannelManager, int dataPort, FtpConfig configuration, FtpClientSession clientSession) throws Exception
Exceptionpublic FtpDataTransiverImpl(String host, int dataPort, FtpConfig configuration, FtpClientSession clientSession) throws Exception
Exceptionpublic int getDataPort()
getDataPort in interface FtpDataTransiverpublic boolean isConnected()
isConnected in interface FtpDataTransiverpublic void close()
close in interface FtpDataTransiverpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface FtpDataTransiverIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in interface FtpDataTransiverIOExceptionCopyright © 2016 eXo Platform SAS. All Rights Reserved.