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, registerHandler
protected static org.apache.commons.logging.Log logger
protected SocketBox socketBox
protected TransferThread transferThread
protected TransferThreadFactory transferThreadFactory
public void close() throws IOException
IOException
public void startTransfer(DataSink sink, BasicServerControlChannel localControlChannel, TransferContext context) throws Exception
Exception
public void startTransfer(DataSource source, BasicServerControlChannel localControlChannel, TransferContext context) throws Exception
Exception
Copyright © 2016. All rights reserved.