org.globus.transfer.reliable.service.cache
Class MlsdConnectionImpl

java.lang.Object
  extended by org.globus.ftp.FTPClient
      extended by org.globus.ftp.GridFTPClient
          extended by org.globus.transfer.reliable.service.cache.SingleConnectionImpl
              extended by org.globus.transfer.reliable.service.cache.MlsdConnectionImpl
All Implemented Interfaces:
Connection

public class MlsdConnectionImpl
extends SingleConnectionImpl


Field Summary
private  org.globus.ftp.HostPort hostPort
           
private static int numberFDs
           
 
Fields inherited from class org.globus.transfer.reliable.service.cache.SingleConnectionImpl
connectionId, contactString, lastUsed, path, supportsRDEL, type, userDN
 
Fields inherited from class org.globus.ftp.GridFTPClient
gLocalServer, gSession
 
Fields inherited from class org.globus.ftp.FTPClient
controlChannel, dateFormat, localServer, session, useAllo, username
 
Constructor Summary
MlsdConnectionImpl(ConnectionParameter params, org.ietf.jgss.GSSCredential credential, java.lang.String subjectName)
           
 
Method Summary
 java.util.Vector doMlsd(java.lang.String file)
           
 int getNumberFDs()
           
 
Methods inherited from class org.globus.transfer.reliable.service.cache.SingleConnectionImpl
changeDirectory, checkConnectionIntegrity, checkForReuse, closeConnection, delete, deleteDirectory, doMlst, getContactString, getLastUsed, getPath, getType, makeDirectory, setPath, setPermissions, setRestartMarker, successfulTransfer, updateForReuse, updateLastUsed
 
Methods inherited from class org.globus.ftp.GridFTPClient
authenticate, authenticate, checkGridFTPSupport, checksum, checkTransferParamsGet, extendedGet, extendedGet, extendedMultipleTransfer, extendedMultipleTransfer, extendedPut, extendedPut, extendedTransfer, extendedTransfer, get, getAuthorization, getControlChannelProtection, getDataChannelAuthentication, getDataChannelProtection, list, listCheck, mlsd, nlist, put, setAuthorization, setChecksum, setControlChannelProtection, setDataChannelAuthentication, setDataChannelProtection, setLocalNoDataChannelAuthentication, setLocalStripedActive, setLocalStripedPassive, setLocalStripedPassive, setLocalTCPBufferSize, setMode, setStripedActive, setStripedPassive, setTCPBufferSize
 
Methods inherited from class org.globus.ftp.FTPClient
abort, actualSetMode, allocate, asynchGet, asynchPut, asynchPut, authorize, changeDir, checkTransferParams, checkTransferParamsPut, close, close, deleteDir, deleteFile, exists, get, getCurrentDir, getFeatureList, getHost, getLastModified, getLastReply, getPort, getSize, getUseAllo, getUserName, goUpDir, isActiveMode, isFeatureSupported, isPassiveMode, lastModified, list, list, list, makeDir, mlsd, mlsd, mlst, nlist, nlist, performTransfer, put, put, quote, rename, setActive, setActive, setClientWaitParams, setLocalActive, setLocalPassive, setLocalPassive, setOptions, setPassive, setPassiveMode, setProtectionBufferSize, setRestartMarker, setType, setUseAllo, site, size, transfer, transferBegin, transferRun, transferRunSingleThread, transferStart, transferWait
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numberFDs

private static final int numberFDs
See Also:
Constant Field Values

hostPort

private org.globus.ftp.HostPort hostPort
Constructor Detail

MlsdConnectionImpl

public MlsdConnectionImpl(ConnectionParameter params,
                          org.ietf.jgss.GSSCredential credential,
                          java.lang.String subjectName)
                   throws java.io.IOException,
                          org.globus.ftp.exception.ServerException,
                          RftTransientException
Parameters:
params -
credential -
Throws:
java.io.IOException - If the constructor call to GridFTPClient fails.
org.globus.ftp.exception.ServerException - If the constructor call to GridFTPClient fails.
RftTransientException - If any other GridFTP server interaction error occurs.
Method Detail

doMlsd

public java.util.Vector doMlsd(java.lang.String file)
                        throws RftTransientException
Throws:
RftTransientException

getNumberFDs

public int getNumberFDs()
Specified by:
getNumberFDs in interface Connection
Overrides:
getNumberFDs in class SingleConnectionImpl