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

java.lang.Object
  extended by org.globus.transfer.reliable.service.cache.ConnectionParameter

public class ConnectionParameter
extends java.lang.Object


Field Summary
private  java.lang.String connectionId
           
private  java.lang.String destinationHost
           
private  java.lang.String destinationPath
           
private  int destinationPort
           
static int DOUBLE_TYPE
           
private static RFTLogger logger
           
private  RFTOptionsType rftOptions
           
static int SINGLE_TYPE
           
private  java.lang.String sourceHost
           
private  java.lang.String sourcePath
           
private  int sourcePort
           
private  int type
           
private  java.lang.String userDN
           
 
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)
           
 
Method Summary
private  void createConnectionId()
          Create a hash value of all parameters except for the paths which are not needed in the check for reuse.
 java.lang.String getConnectionId()
           
 java.lang.String getDestinationHost()
           
 java.lang.String getDestinationPath()
           
 int getDestinationPort()
           
 RFTOptionsType getRFTOptions()
           
 java.lang.String getSourceHost()
           
 java.lang.String getSourcePath()
           
 int getSourcePort()
           
 int getType()
           
 java.lang.String getUserDN()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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
Method Detail

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.