org.globus.transfer.reliable.client
Class BaseRFTClient
java.lang.Object
org.globus.wsrf.client.BaseClient
org.globus.transfer.reliable.client.BaseRFTClient
- All Implemented Interfaces:
- NotifyCallback
- Direct Known Subclasses:
- ReliableFileDeleteClient, ReliableFileTransferClient
- public class BaseRFTClient
- extends BaseClient
- implements NotifyCallback
BaseClient for RFT service
| Fields inherited from class org.globus.wsrf.client.BaseClient |
ANON, anonymous, APPLICATION_ERROR, authorization, COMMAND_LINE_ERROR, CONTEXT, contextLifetime, CONV_ACTOR, convActor, customUsage, DEBUG, debugMode, DELEG, delegation, DESCRIPTOR, descriptorFile, EPR_FILE, helpFooter, helpHeader, mechanism, MECHANISM, MSG_ACTOR, msgActor, options, protection, PROTECTION, PUB_KEY_FILE, publicKeyFilename, RESOURCE_KEY, SERVICE_URL |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rftLocator
public static org.globus.rft.generated.service.ReliableFileTransferServiceAddressingLocator rftLocator
SERVICE_URL_ROOT
static final String SERVICE_URL_ROOT
- See Also:
- Constant Field Values
rftFactoryLocator
public static org.globus.rft.generated.service.ReliableFileTransferFactoryServiceAddressingLocator rftFactoryLocator
factoryPort
private static org.globus.rft.generated.ReliableFileTransferFactoryPortType factoryPort
consumer
private static NotificationConsumerManager consumer
transferCount
public static int transferCount
finished
public static int finished
failed
public static int failed
endpoint
public static URL endpoint
HOST
public static String HOST
PORT
public static String PORT
PROTOCOL
public static String PROTOCOL
TERM_TIME
public static int TERM_TIME
PATH_TO_FILE
public static String PATH_TO_FILE
AUTHZ
public static String AUTHZ
cmd
public static String[] cmd
outFileName
public static String outFileName
authType
public static Object authType
authVal
public static Object authVal
authzVal
public static Authorization authzVal
optionString
public static String optionString
BaseRFTClient
public BaseRFTClient()
parseArgs
public static void parseArgs()
getValue
protected static String getValue(int i)
createRFT
public static EndpointReferenceType createRFT(String rftFactoryAddress,
org.globus.rft.generated.BaseRequestType request)
throws Exception
- Parameters:
request -
- Returns:
- rft epr
- Throws:
Exception
printUsage
public static void printUsage()
- Prints the usage
deliver
public void deliver(List topicPath,
EndpointReferenceType producer,
Object message)
- Specified by:
deliver in interface NotifyCallback
- Parameters:
topicPath - producer - message -
delegateCredential
public static EndpointReferenceType delegateCredential(String host,
String port)
throws Exception
- Parameters:
host - port -
- Returns:
-
- Throws:
Exception
setSecurity
public static void setSecurity(Stub stub)
subscribe
public static void subscribe(org.globus.rft.generated.ReliableFileTransferPortType rft)
throws Exception
- Throws:
Exception
getFaultFromRP
private BaseFaultType getFaultFromRP(org.globus.rft.generated.RFTFaultResourcePropertyType faultRP)
getClientSecDesc
public static ClientSecurityDescriptor getClientSecDesc()
getFactoryPort
public static org.globus.rft.generated.ReliableFileTransferFactoryPortType getFactoryPort(String rftFactoryAddress)
throws Exception
- Throws:
Exception