Class AbstractDataChannel
java.lang.Object
org.globus.ftp.dc.AbstractDataChannel
- All Implemented Interfaces:
DataChannel
- Direct Known Subclasses:
SimpleDataChannel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataChannelSink(TransferContext context) getDataChannelSource(TransferContext context) private static StringgetHandlerID(int transferMode, int transferType, int type) booleanTests if the client supports specified transfer type and mode (the client can write data in specific type and mode to the data connection)booleanTests if the client supports specified transfer type and mode (the client can read data in specific type and mode from the data connection)static voidregisterHandler(int transferMode, int transferType, int type, Class clazz) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataChannel
close, startTransfer, startTransfer
-
Field Details
-
logger
private static org.apache.commons.logging.Log logger -
session
-
dataHandlers
-
SOURCE
private static final int SOURCE- See Also:
-
SINK
private static final int SINK- See Also:
-
-
Constructor Details
-
AbstractDataChannel
-
-
Method Details
-
registerHandler
-
isDataSourceModeSupported
public boolean isDataSourceModeSupported()Tests if the client supports specified transfer type and mode (the client can read data in specific type and mode from the data connection) -
isDataSinkModeSupported
public boolean isDataSinkModeSupported()Tests if the client supports specified transfer type and mode (the client can write data in specific type and mode to the data connection) -
getDataChannelSource
- Throws:
Exception
-
getDataChannelSink
- Throws:
Exception
-
getHandlerID
-