public class SimpleDataChannel extends AbstractDataChannel
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
logger |
protected SocketBox |
socketBox |
protected TransferThread |
transferThread |
protected TransferThreadFactory |
transferThreadFactory |
dataHandlers, session| Constructor and Description |
|---|
SimpleDataChannel(Session session,
SocketBox socketBox) |
| Modifier and Type | Method and 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 © 2016. All rights reserved.