org.globus.transfer.reliable.service
Class DeleteClient

java.lang.Object
  extended byorg.globus.transfer.reliable.service.DeleteClient

public class DeleteClient
extends Object


Field Summary
private  org.ietf.jgss.GSSCredential credential
           
private  URLExpander expander
           
private  String filePath
           
private  org.globus.util.GlobusURL fileURL
           
private  org.globus.ftp.GridFTPClient gridFtpHost
           
private  String host
           
private static org.globus.util.I18n i18n
           
private static org.apache.commons.logging.Log logger
           
private  int port
           
private  int requestId
           
private  int status
           
private  String subjectName
           
 
Constructor Summary
DeleteClient(String url, String subjectName, org.ietf.jgss.GSSCredential credential, String userName)
           
 
Method Summary
 boolean checkForReuse(String url, int requestId)
           
 void close()
          Closes the socket
 void delete()
           
 int getRequestId()
           
 int getStatus()
           
 URLExpander getUrlExpander()
           
 void setCredential(org.ietf.jgss.GSSCredential credential)
           
 void setFileURL(String filePath)
           
 void setRequestId(int requestId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.commons.logging.Log logger

i18n

private static org.globus.util.I18n i18n

filePath

private String filePath

fileURL

private org.globus.util.GlobusURL fileURL

gridFtpHost

private org.globus.ftp.GridFTPClient gridFtpHost

host

private String host

port

private int port

status

private int status

credential

private org.ietf.jgss.GSSCredential credential

subjectName

private String subjectName

expander

private URLExpander expander

requestId

private int requestId
Constructor Detail

DeleteClient

public DeleteClient(String url,
                    String subjectName,
                    org.ietf.jgss.GSSCredential credential,
                    String userName)
             throws RftException,
                    RftTransientException,
                    RftDBException
Parameters:
url -
subjectName -
userName -
Throws:
RftException
RftTransientException
RftDBException
Method Detail

setFileURL

public void setFileURL(String filePath)
Parameters:
filePath -

getUrlExpander

public URLExpander getUrlExpander()
Returns:
urlExpander

delete

public void delete()
            throws RftException
Throws:
RftException

getStatus

public int getStatus()
Returns:
status of the client

setCredential

public void setCredential(org.ietf.jgss.GSSCredential credential)

checkForReuse

public boolean checkForReuse(String url,
                             int requestId)
                      throws RftException
Parameters:
url -
requestId -
Returns:
Throws:
RftException

close

public void close()
Closes the socket


getRequestId

public int getRequestId()
Returns:
requestId

setRequestId

public void setRequestId(int requestId)
Parameters:
requestId -