|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ftpserver.impl.IODataConnection
public class IODataConnection
Internal class, do not use directly. An active open data connection, used for transfering data over the data connection.
| Constructor Summary | |
|---|---|
IODataConnection(Socket socket,
FtpIoSession session,
ServerDataConnectionFactory factory)
|
|
| Method Summary | |
|---|---|
protected void |
notifyObserver()
Notify connection manager observer. |
long |
transferFromClient(FtpSession session,
OutputStream out)
Transfer data from the client (e.g. |
long |
transferToClient(FtpSession session,
InputStream in)
Transfer data to the client (e.g. |
void |
transferToClient(FtpSession session,
String str)
Transfer a string to the client, e.g. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IODataConnection(Socket socket,
FtpIoSession session,
ServerDataConnectionFactory factory)
| Method Detail |
|---|
public final long transferFromClient(FtpSession session,
OutputStream out)
throws IOException
DataConnection
transferFromClient in interface DataConnectionsession - The current FtpSessionout - The OutputStream containing the destination of the
data from the client.
IOException
public final long transferToClient(FtpSession session,
InputStream in)
throws IOException
DataConnection
transferToClient in interface DataConnectionsession - The current FtpSessionin - Data to be transfered to the client
IOException
public final void transferToClient(FtpSession session,
String str)
throws IOException
DataConnection
transferToClient in interface DataConnectionsession - The current FtpSessionstr - The string to transfer
IOExceptionprotected void notifyObserver()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||