DataChannelGridFTPDataChannelpublic class SimpleDataChannel extends AbstractDataChannel
| Modifier and Type | Field | Description |
|---|---|---|
protected static org.apache.commons.logging.Log |
logger |
|
protected SocketBox |
socketBox |
|
protected TransferThread |
transferThread |
|
protected TransferThreadFactory |
transferThreadFactory |
dataHandlers, session| Constructor | Description |
|---|---|
SimpleDataChannel(Session session,
SocketBox socketBox) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
startTransfer(DataSink sink,
BasicServerControlChannel localControlChannel,
TransferContext context) |
|
void |
startTransfer(DataSource source,
BasicServerControlChannel localControlChannel,
TransferContext context) |
getDataChannelSink, getDataChannelSource, isDataSinkModeSupported, isDataSourceModeSupported, registerHandlerprotected static org.apache.commons.logging.Log logger
protected SocketBox socketBox
protected TransferThread transferThread
protected TransferThreadFactory transferThreadFactory
public void close()
throws IOException
IOExceptionpublic void startTransfer(DataSink sink, BasicServerControlChannel localControlChannel, TransferContext context) throws Exception
Exceptionpublic void startTransfer(DataSource source, BasicServerControlChannel localControlChannel, TransferContext context) throws Exception
ExceptionCopyright © 2018. All rights reserved.