org.globus.transfer.reliable.service.cache
Class ConnectionParameter
java.lang.Object
org.globus.transfer.reliable.service.cache.ConnectionParameter
public class ConnectionParameter
- extends java.lang.Object
|
Constructor Summary |
ConnectionParameter(java.lang.String sourceHost,
int sourcePort,
java.lang.String sourcePath,
java.lang.String destinationHost,
int destinationPort,
java.lang.String destinationPath,
java.lang.String userDN,
RFTOptionsType rftOptions)
|
ConnectionParameter(java.lang.String sourceHost,
int sourcePort,
java.lang.String sourcePath,
java.lang.String userDN,
RFTOptionsType rftOptions)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SINGLE_TYPE
public static int SINGLE_TYPE
DOUBLE_TYPE
public static int DOUBLE_TYPE
logger
private static RFTLogger logger
sourceHost
private java.lang.String sourceHost
sourcePath
private java.lang.String sourcePath
destinationHost
private java.lang.String destinationHost
destinationPath
private java.lang.String destinationPath
userDN
private java.lang.String userDN
rftOptions
private RFTOptionsType rftOptions
sourcePort
private int sourcePort
destinationPort
private int destinationPort
type
private int type
connectionId
private java.lang.String connectionId
ConnectionParameter
public ConnectionParameter(java.lang.String sourceHost,
int sourcePort,
java.lang.String sourcePath,
java.lang.String userDN,
RFTOptionsType rftOptions)
throws RftException
- Throws:
RftException
ConnectionParameter
public ConnectionParameter(java.lang.String sourceHost,
int sourcePort,
java.lang.String sourcePath,
java.lang.String destinationHost,
int destinationPort,
java.lang.String destinationPath,
java.lang.String userDN,
RFTOptionsType rftOptions)
throws RftException
- Throws:
RftException
getType
public int getType()
getDestinationHost
public java.lang.String getDestinationHost()
getDestinationPath
public java.lang.String getDestinationPath()
getDestinationPort
public int getDestinationPort()
getSourceHost
public java.lang.String getSourceHost()
getSourcePath
public java.lang.String getSourcePath()
getSourcePort
public int getSourcePort()
getUserDN
public java.lang.String getUserDN()
getRFTOptions
public RFTOptionsType getRFTOptions()
getConnectionId
public java.lang.String getConnectionId()
createConnectionId
private void createConnectionId()
- Create a hash value of all parameters except for the paths which
are not needed in the check for reuse.