org.globus.transfer.reliable.client
Class BaseRFTClient

java.lang.Object
  extended byorg.globus.wsrf.client.BaseClient
      extended byorg.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


Field Summary
static Object authType
           
static Object authVal
           
static String AUTHZ
           
static Authorization authzVal
           
static String[] cmd
           
private static NotificationConsumerManager consumer
           
static URL endpoint
           
private static org.globus.rft.generated.ReliableFileTransferFactoryPortType factoryPort
           
static int failed
           
static int finished
           
static String HOST
           
static String optionString
           
static String outFileName
           
static String PATH_TO_FILE
           
static String PORT
           
static String PROTOCOL
           
static org.globus.rft.generated.service.ReliableFileTransferFactoryServiceAddressingLocator rftFactoryLocator
           
static org.globus.rft.generated.service.ReliableFileTransferServiceAddressingLocator rftLocator
           
(package private) static String SERVICE_URL_ROOT
           
static int TERM_TIME
           
static int transferCount
           
 
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
 
Constructor Summary
BaseRFTClient()
           
 
Method Summary
static EndpointReferenceType createRFT(String rftFactoryAddress, org.globus.rft.generated.BaseRequestType request)
           
static EndpointReferenceType delegateCredential(String host, String port)
           
 void deliver(List topicPath, EndpointReferenceType producer, Object message)
           
static ClientSecurityDescriptor getClientSecDesc()
           
static org.globus.rft.generated.ReliableFileTransferFactoryPortType getFactoryPort(String rftFactoryAddress)
           
private  BaseFaultType getFaultFromRP(org.globus.rft.generated.RFTFaultResourcePropertyType faultRP)
           
protected static String getValue(int i)
           
static void parseArgs()
           
static void printUsage()
          Prints the usage
static void setSecurity(Stub stub)
           
static void subscribe(org.globus.rft.generated.ReliableFileTransferPortType rft)
           
 
Methods inherited from class org.globus.wsrf.client.BaseClient
displayUsage, getEPR, isDebugMode, parse, parse, setCustomUsage, setHelpFooter, setHelpHeader, setOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

BaseRFTClient

public BaseRFTClient()
Method Detail

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