|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.globus.ftp.Session
org.globus.ftp.GridFTPSession
public class GridFTPSession
Represents parameters of an FTP session between a client and a server.
Field Summary | |
---|---|
org.ietf.jgss.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
|
Fields inherited from class org.globus.ftp.Session |
---|
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 Summary | |
---|---|
GridFTPSession()
Sets maxWait to twice the time of DEFAULT_MAX_WAIT |
Method Summary | |
---|---|
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()
|
Methods inherited from class org.globus.ftp.Session |
---|
compareTransferParams |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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 org.ietf.jgss.GSSCredential credential
public int parallel
public int TCPBufferSize
public HostPortList serverAddressList
Constructor Detail |
---|
public GridFTPSession()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |