org.apache.ftpserver
Class IODataConnection
java.lang.Object
org.apache.ftpserver.IODataConnection
- All Implemented Interfaces:
- DataConnection
public class IODataConnection
- extends java.lang.Object
- implements DataConnection
An active open data connection, used for transfering data over the
data connection.
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(java.io.OutputStream out)
throws java.io.IOException
- Specified by:
transferFromClient
in interface DataConnection
- Throws:
java.io.IOException
transferToClient
public final long transferToClient(java.io.InputStream in)
throws java.io.IOException
- Specified by:
transferToClient
in interface DataConnection
- Throws:
java.io.IOException
transferToClient
public final void transferToClient(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-2008 The Apache Software Foundation. All Rights Reserved.