GNDMS 0.6.0
RESTful verison of GNDMS
Public Member Functions

de.zib.gndms.taskflows.filetransfer.server.network.SimpleGridFTPClientFactory Class Reference

A GridFTPClient factory for clients without a GSSCredential authentification. More...

List of all members.

Public Member Functions

GridFTPClient createClient (String host, int port, CredentialProvider cp) throws ServerException, IOException
 Returns a GridFTPClient, which is connected to a server with the given hostname using the denoted port value.

Detailed Description

A GridFTPClient factory for clients without a GSSCredential authentification.

Author:
try ma ik jo rr a zib
Version:
$Id$

User: mjorra, Date: 30.09.2008, Time: 13:29:57


Member Function Documentation

GridFTPClient de.zib.gndms.taskflows.filetransfer.server.network.SimpleGridFTPClientFactory.createClient ( String  host,
int  port,
CredentialProvider  cp 
) throws ServerException, IOException

Returns a GridFTPClient, which is connected to a server with the given hostname using the denoted port value.

No GSSCredential authentification is required.

Parameters:
hostthe hostname of the server
portthe port value used for a connection to the server
cpis ignored
Returns:
a GridFTPClient, which is connected to server with the given hostname and port value.
Exceptions:
ServerException
IOException
                                                                                                                          {
        GridFTPClient clnt = new GridFTPClient( host, port );
        cp.installCredentials( clnt );
        return clnt;
    }

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables