public class IODataConnection extends Object implements org.apache.ftpserver.ftplet.DataConnection
| Constructor and Description |
|---|
IODataConnection(Socket socket,
FtpIoSession session,
ServerDataConnectionFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
notifyObserver()
Notify connection manager observer.
|
long |
transferFromClient(org.apache.ftpserver.ftplet.FtpSession session,
OutputStream out) |
long |
transferToClient(org.apache.ftpserver.ftplet.FtpSession session,
InputStream in) |
void |
transferToClient(org.apache.ftpserver.ftplet.FtpSession session,
String str) |
public IODataConnection(Socket socket, FtpIoSession session, ServerDataConnectionFactory factory)
public final long transferFromClient(org.apache.ftpserver.ftplet.FtpSession session,
OutputStream out)
throws IOException
transferFromClient in interface org.apache.ftpserver.ftplet.DataConnectionIOExceptionpublic final long transferToClient(org.apache.ftpserver.ftplet.FtpSession session,
InputStream in)
throws IOException
transferToClient in interface org.apache.ftpserver.ftplet.DataConnectionIOExceptionpublic final void transferToClient(org.apache.ftpserver.ftplet.FtpSession session,
String str)
throws IOException
transferToClient in interface org.apache.ftpserver.ftplet.DataConnectionIOExceptionprotected void notifyObserver()
Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.