DataChannel
GridFTPDataChannel
public 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, 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 © 2018. All rights reserved.