public class GridFTPSession extends Session
Modifier and Type | Field and Description |
---|---|
GSSCredential |
credential |
DataChannelAuthentication |
dataChannelAuthentication |
int |
dataChannelProtection |
static int |
MODE_EBLOCK
Indicates Extended Block Mode for data transfer.
|
int |
parallel |
static int |
PROTECTION_CLEAR
Indicates that the data channel will carry the raw data of the file
transfer, with no security applied.
|
static int |
PROTECTION_CONFIDENTIAL
Indicates that the data will be confidentiality protected (Currently, not
support by GridFTP servers).
|
static int |
PROTECTION_PRIVATE
Indicates that the data will be integrity and confidentiality protected.
|
static int |
PROTECTION_SAFE
Indicates that the data will be integrity protected.
|
static int |
SERVER_EACT
server in extended active mode
|
static int |
SERVER_EPAS
server in extended passive mode
|
HostPortList |
serverAddressList
This concerns local server.
|
int |
TCPBufferSize |
authorized, DEFAULT_MAX_WAIT, DEFAULT_WAIT_DELAY, featureList, maxWait, MODE_BLOCK, MODE_STREAM, protectionBufferSize, SERVER_ACTIVE, SERVER_DEFAULT, SERVER_PASSIVE, serverAddress, serverMode, transferMode, transferType, TYPE_ASCII, TYPE_EBCDIC, TYPE_IMAGE, TYPE_LOCAL, waitDelay
Constructor and Description |
---|
GridFTPSession()
Sets maxWait to twice the time of DEFAULT_MAX_WAIT
|
Modifier and Type | Method and Description |
---|---|
protected void |
compareServerMode(Session other)
checks that active / passive sides are correctly set
|
void |
matches(Session other)
In addition to the inherited functionality, this method also (1) checks
if extended active / passive server modes are set correctly, (2) checks
if Mode E is needed, and if so, checks whether it has been set.
|
boolean |
needsGridFTP() |
compareTransferParams
public static final int MODE_EBLOCK
GridFTPClient.setMode()
.public static final int SERVER_EPAS
public static final int SERVER_EACT
public static final int PROTECTION_CLEAR
setDataChannelProtection()
.public static final int PROTECTION_SAFE
setDataChannelProtection()
.public static final int PROTECTION_CONFIDENTIAL
setDataChannelProtection()
.public static final int PROTECTION_PRIVATE
setDataChannelProtection()
.public DataChannelAuthentication dataChannelAuthentication
public int dataChannelProtection
public GSSCredential credential
public int parallel
public int TCPBufferSize
public HostPortList serverAddressList
public GridFTPSession()
public void matches(Session other) throws ClientException
matches
in class Session
ClientException
- if sessions do not matchprotected void compareServerMode(Session other) throws ClientException
Session
compareServerMode
in class Session
ClientException
public boolean needsGridFTP()
Copyright © 2016. All rights reserved.