org.apache.ftpserver.impl
Class IODataConnection
java.lang.Object
org.apache.ftpserver.impl.IODataConnection
- All Implemented Interfaces:
- DataConnection
public class IODataConnection
- extends java.lang.Object
- implements DataConnection
Internal class, do not use directly.
An active open data connection, used for transfering data over the data
connection.
- Author:
- Apache MINA Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IODataConnection
public IODataConnection(java.net.Socket socket,
FtpIoSession session,
ServerDataConnectionFactory factory)
transferFromClient
public final long transferFromClient(FtpSession session,
java.io.OutputStream out)
throws java.io.IOException
- Specified by:
transferFromClient in interface DataConnection
- Throws:
java.io.IOException
transferToClient
public final long transferToClient(FtpSession session,
java.io.InputStream in)
throws java.io.IOException
- Specified by:
transferToClient in interface DataConnection
- Throws:
java.io.IOException
transferToClient
public final void transferToClient(FtpSession session,
java.lang.String str)
throws java.io.IOException
- Specified by:
transferToClient in interface DataConnection
- Throws:
java.io.IOException
notifyObserver
protected void notifyObserver()
- Notify connection manager observer.
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.