Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

a(byte[]) - Static method in class eu.unicore.uftp.rsync.Checksum
the function "a" from the rsync rolling checksum algorithm
AbstractUFTPClient - Class in eu.unicore.uftp.client
Client base class
AbstractUFTPClient(InetAddress[], int) - Constructor for class eu.unicore.uftp.client.AbstractUFTPClient
create a new UFTP client for file transfer from/to the given server
accept() - Method in class eu.unicore.uftp.dpc.DPCServer
Waits for incoming client
ACLHandler - Class in eu.unicore.uftp.server
use an ACL file to limit access
ACLHandler() - Constructor for class eu.unicore.uftp.server.ACLHandler
 
ACLHandler(File) - Constructor for class eu.unicore.uftp.server.ACLHandler
 
ACTION_CLOSE_DATA - Static variable in class eu.unicore.uftp.dpc.Session
 
ACTION_END - Static variable in class eu.unicore.uftp.dpc.Session
 
ACTION_NONE - Static variable in class eu.unicore.uftp.dpc.Session
 
ACTION_OPEN_SOCKET - Static variable in class eu.unicore.uftp.dpc.Session
 
ACTION_RETRIEVE - Static variable in class eu.unicore.uftp.dpc.Session
 
ACTION_SEND_STREAM_DATA - Static variable in class eu.unicore.uftp.dpc.Session
 
ACTION_STORE - Static variable in class eu.unicore.uftp.dpc.Session
 
ACTION_SYNC_MASTER - Static variable in class eu.unicore.uftp.dpc.Session
 
ACTION_SYNC_SLAVE - Static variable in class eu.unicore.uftp.dpc.Session
 
addJob(UFTPTransferRequest) - Method in class eu.unicore.uftp.server.ServerThread
adds job
addNewDataConnection(String) - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
 
addSocketStream(Socket) - Method in class eu.unicore.uftp.jparss.PSocket
Add a socket to this parallel stream
assertACL(File) - Method in class eu.unicore.uftp.dpc.Session
checks whether the session's ACLs allow access to the file
asUser(Runnable, String, String) - Method in class eu.unicore.uftp.server.DefaultFileAccess
 
asUser(Runnable, String, String) - Method in interface eu.unicore.uftp.server.FileAccess
execute the given Runnable as given user
asUser(Runnable, String, String) - Method in class eu.unicore.uftp.server.SetUIDFileAccess
 
asUser(Runnable) - Method in class eu.unicore.uftp.server.UserFileAccess
run the given task as the current user
authenticate(Socket) - Method in interface eu.unicore.uftp.client.ClientAuthenticator
Deprecated.
 
authenticateV1(DPCServer.Connection) - Method in class eu.unicore.uftp.dpc.ServerProtocol
Authorize the client by creating a data connection and reading the secret from the new connection.
AUTHFAIL - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
AUTHOK - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
AuthorizationFailureException - Exception in eu.unicore.uftp.dpc
thrown when authorisation fails in DPCServer.accept() or DPCClient.connect()
AuthorizationFailureException(String) - Constructor for exception eu.unicore.uftp.dpc.AuthorizationFailureException
 

B

b(byte[], long, long) - Static method in class eu.unicore.uftp.rsync.Checksum
the function "b" from the rsync algorithm
BACKLOG - Static variable in class eu.unicore.uftp.server.UFTPServer
Backlog for the server sockets
blocksize - Variable in class eu.unicore.uftp.rsync.RsyncStats
 
BUFFSIZE - Static variable in class eu.unicore.uftp.client.AbstractUFTPClient
NETWORK send/receive buffer size, this must be the same on client/server if multiple streams are to be used
BUFFSIZE - Static variable in class eu.unicore.uftp.server.UFTPWorker
NETWORK send/receive buffer size, this must be the same on client/server if multiple streams are to be used

C

call() - Method in class eu.unicore.uftp.rsync.Master
 
call() - Method in class eu.unicore.uftp.rsync.Slave
 
cancel() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
signal the client that it should cancel an operation
cancelled - Variable in class eu.unicore.uftp.client.AbstractUFTPClient
 
cd(String) - Method in class eu.unicore.uftp.client.UFTPSessionClient
change to the given remote directory
cdUp() - Method in class eu.unicore.uftp.client.UFTPSessionClient
change to the parent directory
CDUP - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
checkAccess(String) - Method in class eu.unicore.uftp.server.ACLHandler
 
checkACL(File) - Method in class eu.unicore.uftp.dpc.Session
checks whether the session's ACLs allow access to the file
checkForExpiredJobs() - Method in class eu.unicore.uftp.server.ServerThread
check if "zombie" jobs exist and clean them up
checkPassiveSupport(List<String>) - Method in class eu.unicore.uftp.dpc.ClientProtocol
 
Checksum - Class in eu.unicore.uftp.rsync
Helper class for dealing with the checksums used in rsync
Based on Andrew Tridgell's 'rsync' as described in http://cs.anu.edu.au/techreports/1996/TR-CS-96-05.pdf
Checksum() - Constructor for class eu.unicore.uftp.rsync.Checksum
 
checksum(byte[], long, long) - Static method in class eu.unicore.uftp.rsync.Checksum
compute the checksum for the given data block
ChecksumHolder - Class in eu.unicore.uftp.rsync
 
ChecksumHolder() - Constructor for class eu.unicore.uftp.rsync.ChecksumHolder
 
cleanConnectionCounters() - Method in class eu.unicore.uftp.server.ServerThread
 
cleanup() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
client - Variable in class eu.unicore.uftp.client.AbstractUFTPClient
 
client - Variable in class eu.unicore.uftp.client.SessionCommands.CmdBase
 
client - Variable in class eu.unicore.uftp.dpc.ClientProtocol
 
ClientAuthenticator - Interface in eu.unicore.uftp.client
Deprecated. 
clientConnectionDone() - Method in class eu.unicore.uftp.jparss.PSocket
Check whether client finished connection.
ClientFactory - Class in eu.unicore.uftp.client
 
ClientFactory() - Constructor for class eu.unicore.uftp.client.ClientFactory
 
ClientProtocol - Class in eu.unicore.uftp.dpc
Implements the client-side of the UFTP connection protocol.
ClientProtocol() - Constructor for class eu.unicore.uftp.dpc.ClientProtocol
 
ClientProtocol(int) - Constructor for class eu.unicore.uftp.dpc.ClientProtocol
 
close() - Method in class eu.unicore.uftp.dpc.DPCClient
close all
close() - Method in class eu.unicore.uftp.dpc.DPCServer
close the server socket, disallowing any new connections.
close() - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
quietly close all sockets
close() - Method in class eu.unicore.uftp.jparss.PInputStream
Closes this input stream and releases any system resources associated with the stream.
close() - Method in class eu.unicore.uftp.jparss.POutputStream
Closes this output stream and releases any system resources associated with this stream.
close() - Method in class eu.unicore.uftp.jparss.PSocket
Close socket.
close() - Method in class eu.unicore.uftp.server.ServerThread
shut down the server
closeData() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
closeData() - Method in class eu.unicore.uftp.dpc.DPCClient
close all data connections
closeData() - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
quietly close all our data connections
closeQuietly(Closeable) - Static method in class eu.unicore.uftp.dpc.Utils
 
cmagic - Static variable in class eu.unicore.uftp.jparss.PConfig
Connection magic number.
CmdBase() - Constructor for class eu.unicore.uftp.client.SessionCommands.CmdBase
 
CMDSOCKERR - Static variable in class eu.unicore.uftp.server.UFTPServer
 
compress - Variable in class eu.unicore.uftp.client.AbstractUFTPClient
 
computeChecksums() - Method in class eu.unicore.uftp.rsync.Slave
 
configureClient(AbstractUFTPClient, CommandLine, Logger) - Static method in class eu.unicore.uftp.client.ClientFactory
configures the client using the number of connections, secret, encryption key and buffer size from the commandline
connect() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
connect(InetAddress[], int, String) - Method in class eu.unicore.uftp.dpc.DPCClient
establishes an authorised pseudo FTP connection.
connection - Variable in class eu.unicore.uftp.dpc.ServerProtocol
 
connectV1(String) - Method in class eu.unicore.uftp.dpc.ClientProtocol
connect with protocol version 2
connectV2(String) - Method in class eu.unicore.uftp.dpc.ClientProtocol
connect with protocol version 2
create(String[]) - Static method in class eu.unicore.uftp.client.ClientFactory
 
create(String[]) - Static method in class eu.unicore.uftp.client.UFTPSessionClient
create a session client instance from the supplied commandline parameters
createCMD(List<String>, UFTPSessionClient) - Static method in class eu.unicore.uftp.client.SessionCommands
 
createFaultMessage(String, Throwable) - Static method in class eu.unicore.uftp.dpc.Utils
 
createKey() - Static method in class eu.unicore.uftp.dpc.Utils
create a new symmetric key
createNewDataConnection() - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
make a new (data) connection
createNewDataConnection(String) - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
 
createOptions() - Static method in class eu.unicore.uftp.client.ClientFactory
helper to create commandline options understood by UFTP clients
createOptions() - Static method in class eu.unicore.uftp.server.UFTPServer
 
createRandomAccessFile(File, String) - Method in class eu.unicore.uftp.dpc.Session
create a random access file for the current user and group
createSocket(int, DPCClient, byte[]) - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
createSocket(int, DPCClient, byte[], boolean) - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 

D

debug - Static variable in class eu.unicore.uftp.jparss.PConfig
Debug flag
decodeBase64(String) - Static method in class eu.unicore.uftp.dpc.Utils
 
DEFAULT_BLOCKSIZE - Static variable in class eu.unicore.uftp.rsync.Slave
 
DEFAULT_BUFFERSIZE - Static variable in interface eu.unicore.uftp.server.FileAccess
default file read/write buffersize in bytes
DEFAULT_BUFFERSIZE - Static variable in class eu.unicore.uftp.server.UserFileAccess
default file read/write buffersize in bytes
DefaultFileAccess - Class in eu.unicore.uftp.server
default version of FileAccess interface.
DefaultFileAccess() - Constructor for class eu.unicore.uftp.server.DefaultFileAccess
 
disconnect() - Method in class eu.unicore.uftp.client.UFTPSessionClient
end the session
DPCClient - Class in eu.unicore.uftp.dpc
Client allowing parallel data transfer with dynamic port configuration using FTP
DPCClient() - Constructor for class eu.unicore.uftp.dpc.DPCClient
 
DPCClient(ClientProtocol) - Constructor for class eu.unicore.uftp.dpc.DPCClient
 
DPCServer - Class in eu.unicore.uftp.dpc
Server allowing parallel data transfer with dynamic port configuration using FTP
DPCServer(InetAddress, int, int, Map<InetAddress, List<UFTPTransferRequest>>, String, PortManager) - Constructor for class eu.unicore.uftp.dpc.DPCServer
create a new server listening on the given interface
DPCServer.Connection - Class in eu.unicore.uftp.dpc
 
duration - Variable in class eu.unicore.uftp.rsync.RsyncStats
 

E

encodeBase64(byte[]) - Static method in class eu.unicore.uftp.dpc.Utils
 
END - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
ENDCODE - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
EPSV - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
ERROR - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
establish() - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
establish the connection using the pseudo FTP protocol
establish(DPCServer.Connection) - Method in class eu.unicore.uftp.dpc.ServerProtocol
 
establishConnection(DPCClient, String) - Method in class eu.unicore.uftp.dpc.ClientProtocol
establish a connection with the server
eu.unicore.uftp.client - package eu.unicore.uftp.client
 
eu.unicore.uftp.dpc - package eu.unicore.uftp.dpc
 
eu.unicore.uftp.jparss - package eu.unicore.uftp.jparss
 
eu.unicore.uftp.rsync - package eu.unicore.uftp.rsync
 
eu.unicore.uftp.server - package eu.unicore.uftp.server
 
eu.unicore.uftp.server.unix - package eu.unicore.uftp.server.unix
 
exists() - Method in class eu.unicore.uftp.client.FileInfo
 

F

FAILURE - Static variable in class eu.unicore.uftp.server.unix.UnixUser
 
FEATURES_REPLY_LONG - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
FEATURES_REPLY_SHORT - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
FEATURES_REQUEST - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
FILE_ACTION_OK - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
FileAccess - Interface in eu.unicore.uftp.server
wraps file access (read/write operations) and other operations which need to be performed as a different user using setuid
FileInfo - Class in eu.unicore.uftp.client
Holds information about a file such as name, size, last modified...
FileInfo() - Constructor for class eu.unicore.uftp.client.FileInfo
 
FileInfo(String) - Constructor for class eu.unicore.uftp.client.FileInfo
 
FileInfo(File) - Constructor for class eu.unicore.uftp.client.FileInfo
Generates FileInfo for the given file.
FileWatcher - Class in eu.unicore.uftp.server
helper to watch a file and invoke a specific action if it was modified.
FileWatcher(File, Runnable) - Constructor for class eu.unicore.uftp.server.FileWatcher
 
findMatches() - Method in class eu.unicore.uftp.rsync.Master
 
finish() - Method in class eu.unicore.uftp.dpc.MyCipherOutputStream
 
finish() - Method in class eu.unicore.uftp.dpc.MyGZIPOutputStream
 
finished() - Method in class eu.unicore.uftp.jparss.PInputStream
Check whether we are finished or not.
finished() - Method in class eu.unicore.uftp.jparss.POutputStream
Check whether we are finished or not.
finishWriting(OutputStream) - Static method in class eu.unicore.uftp.dpc.Utils
properly flush the stream, which may be compressed and/or encrypted
flush() - Method in class eu.unicore.uftp.jparss.POutputStream
Flushes this output stream and forces any buffered output bytes to be written out.
free(ServerSocket) - Method in class eu.unicore.uftp.server.PortManager
 

G

Get(List<String>) - Constructor for class eu.unicore.uftp.client.SessionCommands.Get
 
get(String, OutputStream) - Method in class eu.unicore.uftp.client.UFTPSessionClient
get the remote file and write it to the given local stream
get(String, long, long, OutputStream) - Method in class eu.unicore.uftp.client.UFTPSessionClient
partial read: get a chunk of a remote file
getAddress() - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
 
getAuthtimeout() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
getAuthTimeout() - Method in class eu.unicore.uftp.dpc.DPCClient
 
getBaseDirectory() - Method in class eu.unicore.uftp.client.UFTPSessionClient
 
getBaseDirectory() - Method in class eu.unicore.uftp.dpc.Session
 
getBlocksize() - Method in class eu.unicore.uftp.rsync.Slave
 
getBufferSize() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
getBufferSize() - Method in class eu.unicore.uftp.server.ServerThread
 
getBufferSize() - Method in class eu.unicore.uftp.server.UFTPWorker
 
getChannel() - Method in class eu.unicore.uftp.rsync.Slave
 
getClient() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
get the client IP address
getCode() - Method in class eu.unicore.uftp.dpc.Reply
 
getCompressStream(OutputStream) - Static method in class eu.unicore.uftp.dpc.Utils
returns a stream that compresses data
getConnection() - Method in class eu.unicore.uftp.server.UFTPWorker
 
getCreatedTime() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
get the instant at which this job was created
getDataSockets() - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
 
getDecompressStream(InputStream) - Static method in class eu.unicore.uftp.dpc.Utils
returns a stream that compresses data
getDecryptStream(InputStream, byte[]) - Static method in class eu.unicore.uftp.dpc.Utils
returns a stream that decrypts data
getDetailMessage(Throwable) - Static method in class eu.unicore.uftp.dpc.Utils
 
getEffective() - Method in class eu.unicore.uftp.server.unix.UnixUser
 
getEGid() - Method in class eu.unicore.uftp.server.unix.UnixUser
Returns the effective group ID number for the user.
getEncryptStream(OutputStream, byte[]) - Static method in class eu.unicore.uftp.dpc.Utils
returns a stream that encrypts data
getEUid() - Method in class eu.unicore.uftp.server.unix.UnixUser
Returns the effective user ID number for the user.
getExcludes() - Method in class eu.unicore.uftp.dpc.Session
 
getExcludes() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
 
getExecutor() - Static method in class eu.unicore.uftp.dpc.Utils
 
getFeatures() - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
 
getFeatures() - Static method in class eu.unicore.uftp.dpc.DPCServer
get the list of features supported by this server
getFile() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
 
getFileAccess() - Method in class eu.unicore.uftp.dpc.Session
 
getFileAccess(Logger) - Static method in class eu.unicore.uftp.dpc.Utils
 
getFileAccess() - Method in class eu.unicore.uftp.server.ServerThread
 
getFileInfoList(String) - Method in class eu.unicore.uftp.client.UFTPSessionClient
get file information for the given basedir (which is relative to the current dir)
getFileList(String) - Method in class eu.unicore.uftp.client.UFTPSessionClient
get the raw result of 'ls' for the given basedir (which is relative to the current dir)
getFileSize(String) - Method in class eu.unicore.uftp.client.UFTPSessionClient
 
getFinalTransferRate() - Method in class eu.unicore.uftp.client.UFTPClient
after the transfer has finished, this will reflect the net transfer rate in bytes per second
getFreePorts() - Method in class eu.unicore.uftp.server.PortManager
 
getGid() - Method in class eu.unicore.uftp.server.unix.UnixGroup
Returns the ID number for the group.
getGid() - Method in class eu.unicore.uftp.server.unix.UnixUser
Returns the group ID number for the user.
getGroup() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
 
getGroup(String) - Static method in class eu.unicore.uftp.server.unix.GroupInfoCache
 
getHome(String) - Method in class eu.unicore.uftp.server.DefaultFileAccess
 
getHome(String) - Method in interface eu.unicore.uftp.server.FileAccess
gets the user's home directory
getHome(String) - Method in class eu.unicore.uftp.server.SetUIDFileAccess
 
getHome() - Method in class eu.unicore.uftp.server.unix.UnixUser
Returns the home directory of the user.
getHome() - Method in class eu.unicore.uftp.server.UserFileAccess
gets the user's home directory
getHost() - Method in class eu.unicore.uftp.dpc.DPCServer
 
getHost() - Method in class eu.unicore.uftp.server.ServerThread
 
getId() - Method in class eu.unicore.uftp.jparss.PSocket
return id number of this parallel stream socket
getIncludes() - Method in class eu.unicore.uftp.dpc.Session
 
getIncludes() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
 
getInetAddress() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Returns the address to which the socket is connected.
getInputStream() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Returns an input stream for this socket.
getJob() - Method in class eu.unicore.uftp.server.UFTPWorker
 
getJobsForClientAddress(InetAddress) - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
 
getJobsForControlSocketAddress() - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
 
getKeepAlive() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Tests if SO_KEEPALIVE is enabled.
getKey() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
getKey() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
 
getLastModified() - Method in class eu.unicore.uftp.client.FileInfo
 
getLocalAddress() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Gets the local address to which the socket is bound.
getLocalFile() - Method in class eu.unicore.uftp.dpc.Session
 
getLocalPort() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Returns the local port to which this socket is bound.
getLocalRandomAccessFile() - Method in class eu.unicore.uftp.dpc.Session
 
getLogger(String, Class<?>) - Static method in class eu.unicore.uftp.dpc.Utils
 
getLoginName() - Method in class eu.unicore.uftp.server.unix.UnixUser
Returns the login name of the user.
getLowerBound() - Method in class eu.unicore.uftp.server.PortManager
 
getMaxControlConnectionsPerClient() - Method in class eu.unicore.uftp.server.ServerThread
 
getMembers() - Method in class eu.unicore.uftp.server.unix.UnixGroup
Returns the members for this group.
getName() - Method in class eu.unicore.uftp.server.unix.UnixGroup
Returns the real name of the group.
getName() - Method in class eu.unicore.uftp.server.unix.UnixUser
Returns the real name of the user.
getNewConnection() - Method in class eu.unicore.uftp.dpc.DPCClient
open new connection
getNextAction() - Method in class eu.unicore.uftp.dpc.Session
 
getNumberOfBytes() - Method in class eu.unicore.uftp.dpc.Session
 
getNumConnections() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
getNumCons() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
Returns the number of parallel connections
getNumStreams() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Return number of parallel streams.
getOffset() - Method in class eu.unicore.uftp.dpc.Session
 
getOutputStream() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Returns an output stream for this socket.
getPath() - Method in class eu.unicore.uftp.client.FileInfo
 
getPermissions() - Method in class eu.unicore.uftp.client.FileInfo
 
getPort() - Method in class eu.unicore.uftp.dpc.DPCServer
 
getPort() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Returns the remote port to which this socket is connected.
getPort() - Method in class eu.unicore.uftp.server.ServerThread
 
getProgressListener() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
getProtocolVersion() - Method in class eu.unicore.uftp.dpc.DPCClient
 
getProtocolVersion() - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
 
getProtocolVersion() - Method in class eu.unicore.uftp.dpc.ServerProtocol
 
getRandomAccessFile(File, String, String, String) - Method in class eu.unicore.uftp.server.DefaultFileAccess
 
getRandomAccessFile(File, String, String, String) - Method in interface eu.unicore.uftp.server.FileAccess
create a RandomAccessFile for accessing the given path
getRandomAccessFile(File, String, String, String) - Method in class eu.unicore.uftp.server.SetUIDFileAccess
 
getRandomAccessFile(File, String) - Method in class eu.unicore.uftp.server.UserFileAccess
create a RandomAccessFile for accessing the given path
getRateLimit() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
 
getReceiveBufferSize() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Gets the value of the SO_RCVBUF option for this Socket, that is the buffer size used by the platform for input on this Socket.
getRequestType() - Method in class eu.unicore.uftp.server.UFTPBaseRequest
 
getRequestType() - Method in class eu.unicore.uftp.server.UFTPPingRequest
 
getRequestType() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
 
getResults() - Method in class eu.unicore.uftp.dpc.Reply
 
getSecret() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
getSecret() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
returns the secret
getSendBufferSize() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Get value of the SO_SNDBUF option for this Socket, that is the buffer size used by the platform for output on this Socket.
getSeq() - Method in class eu.unicore.uftp.jparss.PInputStream
get sequence number.
getSeq() - Method in class eu.unicore.uftp.jparss.POutputStream
Return sequence number.
getServerFeatures() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
getServerFeatures() - Method in class eu.unicore.uftp.dpc.DPCClient
 
getServerInfo() - Method in class eu.unicore.uftp.server.UFTPServer
 
getServerList() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
getServers(CommandLine, Logger) - Static method in class eu.unicore.uftp.client.ClientFactory
 
getServerSocket() - Method in class eu.unicore.uftp.server.PortManager
 
getShell() - Method in class eu.unicore.uftp.server.unix.UnixUser
Returns the shell used by the user.
getSize() - Method in class eu.unicore.uftp.client.FileInfo
 
getSoLinger() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Returns setting for SO_LINGER.
getSoTimeout() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Returns setting for SO_TIMEOUT.
getStatusLine() - Method in class eu.unicore.uftp.dpc.Reply
 
getStream() - Method in class eu.unicore.uftp.dpc.Session
 
getStrongChecksums() - Method in class eu.unicore.uftp.rsync.Slave
 
getTcpNoDelay() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Tests if TCP_NODELAY is enabled.
getTimeout() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
getTimeout() - Method in class eu.unicore.uftp.dpc.DPCClient
 
getTimeout() - Method in class eu.unicore.uftp.dpc.DPCServer
 
getTimeout() - Method in class eu.unicore.uftp.server.ServerThread
return the server timeout
getTimeout() - Method in class eu.unicore.uftp.server.UFTPServer
 
getTmpFile(File) - Method in class eu.unicore.uftp.rsync.Slave
 
getUid() - Method in class eu.unicore.uftp.server.unix.UnixUser
Returns the user ID number for the user.
getUpperBound() - Method in class eu.unicore.uftp.server.PortManager
 
getUser() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
 
getVersion() - Static method in class eu.unicore.uftp.server.UFTPServer
 
getWeakChecksums() - Method in class eu.unicore.uftp.rsync.Slave
 
getWhiteList() - Static method in class eu.unicore.uftp.dpc.Utils
 
GroupInfoCache - Class in eu.unicore.uftp.server.unix
 
GroupInfoCache() - Constructor for class eu.unicore.uftp.server.unix.GroupInfoCache
 

H

halt() - Method in class eu.unicore.uftp.server.ServerThread
 
handShakeTimeOut - Static variable in class eu.unicore.uftp.jparss.PConfig
Default server socket read timeout during handshakes.
haveRange() - Method in class eu.unicore.uftp.dpc.Session
 
hexString(MessageDigest) - Static method in class eu.unicore.uftp.dpc.Utils
converts the message digest into a user-friendly hex string
hexString(byte[]) - Static method in class eu.unicore.uftp.dpc.Utils
converts the byte-array into a more user-friendly hex string
HOSTERR - Static variable in class eu.unicore.uftp.client.AbstractUFTPClient
 

I

id_ - Variable in class eu.unicore.uftp.jparss.PBaseSocket
Internal ID number assigned by server
init(int, int) - Method in class eu.unicore.uftp.jparss.PSocket
Set up this socket.
init(byte[]) - Method in class eu.unicore.uftp.rsync.RollingChecksum
initialise the checksum
initGroups(String, int) - Static method in class eu.unicore.uftp.server.unix.UnixUser
assigns secondary groups
initialHandshake() - Method in class eu.unicore.uftp.dpc.ClientProtocol
 
isAlive() - Method in class eu.unicore.uftp.dpc.Session
 
isAllowed(File) - Method in class eu.unicore.uftp.dpc.Session
 
isAppend() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
whether the file should be appended to
isCompress() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
isCompress() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
whether the data should be compressed during transfer
isConnected() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
isConnected() - Method in class eu.unicore.uftp.dpc.DPCClient
 
isDirectory() - Method in class eu.unicore.uftp.client.FileInfo
 
isEOF() - Method in class eu.unicore.uftp.jparss.PReader
 
isError() - Method in class eu.unicore.uftp.dpc.Reply
 
isForbidden(File) - Method in class eu.unicore.uftp.dpc.Session
 
isSend(CommandLine) - Static method in class eu.unicore.uftp.client.ClientFactory
 
isSendJob() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
returns the send/receive mode
isSession() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
 
isShutDown() - Method in class eu.unicore.uftp.rsync.RsyncData
 
isTransferRequest(Properties) - Static method in class eu.unicore.uftp.server.UFTPTransferRequest
 

J

JobConnectionWorker(Socket, ServerThread) - Constructor for class eu.unicore.uftp.server.UFTPServer.JobConnectionWorker
 

K

key - Variable in class eu.unicore.uftp.client.AbstractUFTPClient
 

L

LCD(List<String>) - Constructor for class eu.unicore.uftp.client.SessionCommands.LCD
 
LISTENSOCKERR - Static variable in class eu.unicore.uftp.server.UFTPServer
 
listFiles(File, String, String) - Method in class eu.unicore.uftp.server.DefaultFileAccess
 
listFiles(File, String, String) - Method in interface eu.unicore.uftp.server.FileAccess
lists files in the given directory
listFiles(File, String, String) - Method in class eu.unicore.uftp.server.SetUIDFileAccess
 
listFiles(File) - Method in class eu.unicore.uftp.server.UserFileAccess
lists files in the given directory
loadProperties(String) - Static method in class eu.unicore.uftp.server.UFTPTransferRequest
 
LOG_CLIENT - Static variable in class eu.unicore.uftp.dpc.Utils
 
LOG_SECURITY - Static variable in class eu.unicore.uftp.dpc.Utils
 
LOG_SERVER - Static variable in class eu.unicore.uftp.dpc.Utils
 
logger - Static variable in class eu.unicore.uftp.server.UFTPBaseRequest
 
LOGIN_SUCCESS - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
logUsage(boolean, long, long) - Method in class eu.unicore.uftp.server.UFTPWorker
computes transfer rates, bytes transferred and logs it to the USAGE logger at INFO level
(If needed, Log4j can be configured to send these log messages to a specific file instead of the standard logfile)

M

magic - Static variable in class eu.unicore.uftp.jparss.PConfig
Magic number
main(String[]) - Static method in class eu.unicore.uftp.client.UFTPClient
runs a UFTP data transfer
main(String[]) - Static method in class eu.unicore.uftp.server.UFTPServer
starts a server reading params from commandline args
makeCommandline(String, int, String, boolean, String, int, String, boolean, boolean, int) - Static method in class eu.unicore.uftp.client.UFTPClient
create a correct commandline for passing the given parameters to a UFTPClient
makeCommandline(String, int, String, boolean, String, int, String, boolean, boolean) - Static method in class eu.unicore.uftp.client.UFTPClient
create a correct commandline for passing the given parameters to a UFTPClient
makeCommandline(String, int, String, String, int, String, int, boolean, String) - Static method in class eu.unicore.uftp.client.UFTPSessionClient
create a correct commandline for passing the given parameters to a UFTPSessionClient
makeDecryptionCipher(byte[]) - Static method in class eu.unicore.uftp.dpc.Utils
create a Cipher for decryption
makeEncryptionCipher(byte[]) - Static method in class eu.unicore.uftp.dpc.Utils
create a Cipher for encryption
makeSocket(int, DPCServer.Connection) - Method in class eu.unicore.uftp.server.UFTPWorker
create a new Socket with the specified number of parallel TCP streams
Master - Class in eu.unicore.uftp.rsync
the Master has an up-to-date copy of a file which should be synchronized with the slave copy.
Master(File, MasterChannel, String) - Constructor for class eu.unicore.uftp.rsync.Master
 
Master(RandomAccessFile, MasterChannel, String) - Constructor for class eu.unicore.uftp.rsync.Master
Construct a new Master using the given file
MasterChannel - Interface in eu.unicore.uftp.rsync
Master-to-Slave communication
matches - Variable in class eu.unicore.uftp.rsync.RsyncStats
 
MAX_JOB_AGE_DEFAULT - Static variable in class eu.unicore.uftp.server.ServerThread
 
maxJobAge - Variable in class eu.unicore.uftp.server.ServerThread
 
md5(File) - Static method in class eu.unicore.uftp.dpc.Utils
 
md5(byte[]) - Static method in class eu.unicore.uftp.dpc.Utils
 
md5(byte[]) - Static method in class eu.unicore.uftp.rsync.Checksum
 
MFMT - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
mkdir(String) - Method in class eu.unicore.uftp.client.UFTPSessionClient
create a remote directory
mkdir(String, String, String) - Method in class eu.unicore.uftp.server.DefaultFileAccess
 
mkdir(String, String, String) - Method in interface eu.unicore.uftp.server.FileAccess
create a directory.
mkdir(String, String, String) - Method in class eu.unicore.uftp.server.SetUIDFileAccess
 
mkdir(String) - Method in class eu.unicore.uftp.server.UserFileAccess
create a directory.
MLSD - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
MLST - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
MyCipherOutputStream - Class in eu.unicore.uftp.dpc
modified version of a CipherOutputStream that allows proper flushing of the stream without closing the underlying output stream
MyCipherOutputStream(OutputStream, Cipher) - Constructor for class eu.unicore.uftp.dpc.MyCipherOutputStream
 
MyGZIPOutputStream - Class in eu.unicore.uftp.dpc
 
MyGZIPOutputStream(OutputStream) - Constructor for class eu.unicore.uftp.dpc.MyGZIPOutputStream
 

N

NEWLINE - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
notifyConnectionClosed(InetAddress) - Method in class eu.unicore.uftp.server.ServerThread
a connection to the given client was closed
notifyTotalBytesTransferred(long) - Method in interface eu.unicore.uftp.client.UFTPProgressListener
update the number of total bytes transferred
num_ - Variable in class eu.unicore.uftp.jparss.PReader
number of parallel streams.
num_ - Variable in class eu.unicore.uftp.jparss.PWriter
number of parallel streams.
numcons - Variable in class eu.unicore.uftp.client.AbstractUFTPClient
 
numStreams_ - Variable in class eu.unicore.uftp.jparss.PBaseSocket
Number of streams.

O

OK - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
openDataConnection() - Method in class eu.unicore.uftp.client.AbstractUFTPClient
if necessary, open data connection
openDataConnections(int) - Method in class eu.unicore.uftp.dpc.DPCClient
opens data connections
openDataConnections(int) - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
Server part of opening data connections.

P

parseLine(String) - Static method in class eu.unicore.uftp.dpc.Utils
 
parseLSEntry(String) - Method in class eu.unicore.uftp.client.FileInfo
 
PASV - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
PBaseSocket - Class in eu.unicore.uftp.jparss
 
PBaseSocket(byte[], boolean) - Constructor for class eu.unicore.uftp.jparss.PBaseSocket
 
PConfig - Class in eu.unicore.uftp.jparss
 
PConfig() - Constructor for class eu.unicore.uftp.jparss.PConfig
 
pheaderlen - Static variable in class eu.unicore.uftp.jparss.PConfig
Parallel stream header length.
PInputStream - Class in eu.unicore.uftp.jparss
 
PInputStream(InputStream[]) - Constructor for class eu.unicore.uftp.jparss.PInputStream
Default constructor Construct an empty parallel output stream.
PortManager - Class in eu.unicore.uftp.server
provide server sockets within a given port range
PortManager() - Constructor for class eu.unicore.uftp.server.PortManager
 
POutputStream - Class in eu.unicore.uftp.jparss
 
POutputStream(OutputStream[]) - Constructor for class eu.unicore.uftp.jparss.POutputStream
Default constructor Construct an empty parallel output stream.
PReader - Class in eu.unicore.uftp.jparss
 
PReader(PInputStream, InputStream, int, int) - Constructor for class eu.unicore.uftp.jparss.PReader
Constructor
prepareGet(OutputStream) - Method in class eu.unicore.uftp.client.AbstractUFTPClient
setup reader and writer for getting remote data, by connecting them to the appropriate socket input stream and local output stream
preparePut(InputStream) - Method in class eu.unicore.uftp.client.AbstractUFTPClient
setup reader and writer for writing local data to the remote target, by connecting them to the socket output stream and local input source
printHeader() - Static method in class eu.unicore.uftp.server.UFTPServer
 
printUsage(Options) - Static method in class eu.unicore.uftp.client.ClientFactory
 
printUsage(Options) - Static method in class eu.unicore.uftp.server.UFTPServer
 
privilegedJavaVM() - Static method in class eu.unicore.uftp.jparss.PConfig
Check whether root started this Java virtual machine.
progressListener - Variable in class eu.unicore.uftp.client.AbstractUFTPClient
 
PROTOCOL_VER_2_LOGIN_OK - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
ProtocolViolationException - Exception in eu.unicore.uftp.dpc
thrown when client/server protocol is violated
ProtocolViolationException(String) - Constructor for exception eu.unicore.uftp.dpc.ProtocolViolationException
 
pseudoLogin(String) - Method in class eu.unicore.uftp.dpc.ClientProtocol
 
pseudoLogin(String) - Method in class eu.unicore.uftp.dpc.ServerProtocol
 
PSocket - Class in eu.unicore.uftp.jparss
 
PSocket(byte[], boolean) - Constructor for class eu.unicore.uftp.jparss.PSocket
Constructor.
Put(List<String>) - Constructor for class eu.unicore.uftp.client.SessionCommands.Put
 
put(String, long, long, InputStream) - Method in class eu.unicore.uftp.client.UFTPSessionClient
write data to a remote file
put(String, long, InputStream) - Method in class eu.unicore.uftp.client.UFTPSessionClient
write data to a remote file
PWD() - Constructor for class eu.unicore.uftp.client.SessionCommands.PWD
 
pwd() - Method in class eu.unicore.uftp.client.UFTPSessionClient
get the current directory
PWriter - Class in eu.unicore.uftp.jparss
 
PWriter(POutputStream, OutputStream, int, int) - Constructor for class eu.unicore.uftp.jparss.PWriter
Constructor

R

RANGSTREAM - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
read(DPCClient) - Static method in class eu.unicore.uftp.dpc.Reply
 
read() - Method in class eu.unicore.uftp.jparss.PInputStream
Reads the next byte of data from the input stream.
read(byte[]) - Method in class eu.unicore.uftp.jparss.PInputStream
Reads some number of bytes from the input stream and stores them into the buffer array b.
read(byte[], int, int) - Method in class eu.unicore.uftp.jparss.PInputStream
Reads up to len bytes of data from the input stream into an array of bytes.
readACL() - Method in class eu.unicore.uftp.server.ACLHandler
 
readControl() - Method in class eu.unicore.uftp.dpc.DPCClient
read a single line from the control channel
readControl() - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
read a line from the control connection
readData() - Method in class eu.unicore.uftp.jparss.PReader
Readr reads to an input stream
readData(Session) - Method in class eu.unicore.uftp.server.UFTPWorker
 
reader - Variable in class eu.unicore.uftp.client.AbstractUFTPClient
 
readerStatus(int, boolean, int) - Method in class eu.unicore.uftp.jparss.PInputStream
Update reader status by individual reader.
readFeatures() - Method in class eu.unicore.uftp.dpc.ClientProtocol
 
readFile(String, String, String, int) - Method in class eu.unicore.uftp.server.DefaultFileAccess
 
readFile(String, String, String, int) - Method in interface eu.unicore.uftp.server.FileAccess
create a InputStream for reading
readFile(String, String, String, int) - Method in class eu.unicore.uftp.server.SetUIDFileAccess
 
readFile(String, int) - Method in class eu.unicore.uftp.server.UserFileAccess
create a InputStream for reading
readMultiThreaded(byte[], int, int) - Method in class eu.unicore.uftp.jparss.PInputStream
 
readResponse(InputStream) - Method in class eu.unicore.uftp.server.UFTPBaseRequest
 
reasonableBlockSize(File) - Static method in class eu.unicore.uftp.rsync.Slave
 
receive() - Method in interface eu.unicore.uftp.rsync.SlaveChannel
receive a rsync data item (literal diff data plus block reference)
receive() - Method in class eu.unicore.uftp.rsync.SocketSlaveChannel
 
receiveChecksums() - Method in interface eu.unicore.uftp.rsync.MasterChannel
receives checksums from the Slave
receiveChecksums() - Method in class eu.unicore.uftp.rsync.SocketMasterChannel
 
reconstructFile() - Method in class eu.unicore.uftp.rsync.Slave
 
rename(String, String) - Method in class eu.unicore.uftp.client.UFTPSessionClient
rename / move a remote file/directory
Reply - Class in eu.unicore.uftp.dpc
reply from server, containing a code and the actual result line(s)
REQUEST_PASSWORD - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
REQUEST_TYPE - Static variable in class eu.unicore.uftp.server.UFTPPingRequest
 
REQUEST_TYPE - Static variable in class eu.unicore.uftp.server.UFTPTransferRequest
 
requests - Static variable in class eu.unicore.uftp.dpc.ClientProtocol
String array containing request messages used to establish the pseudo-FTP connection
reset() - Method in class eu.unicore.uftp.dpc.Session
 
reset(byte[], long, long) - Method in class eu.unicore.uftp.rsync.RollingChecksum
reset the checksum using the given block data
responses - Static variable in class eu.unicore.uftp.dpc.DPCServer
String-Array holding response messages used to establish the pseudo-FTP connection
RETR_OK - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
rm(String) - Method in class eu.unicore.uftp.client.UFTPSessionClient
delete a remote file/directory
rm(String, String, String) - Method in class eu.unicore.uftp.server.DefaultFileAccess
 
rm(String, String, String) - Method in interface eu.unicore.uftp.server.FileAccess
delete a file or directory
rm(String, String, String) - Method in class eu.unicore.uftp.server.SetUIDFileAccess
 
rm(String) - Method in class eu.unicore.uftp.server.UserFileAccess
delete a file or directory
RollingChecksum - Class in eu.unicore.uftp.rsync
Compute the rolling checksum.
Based on Andrew Tridgell's 'rsync' as described in http://cs.anu.edu.au/techreports/1996/TR-CS-96-05.pdf
RollingChecksum() - Constructor for class eu.unicore.uftp.rsync.RollingChecksum
 
RsyncData - Class in eu.unicore.uftp.rsync
Data item sent from master to slave when a match is found.
RsyncData(long, ReadableByteChannel, long) - Constructor for class eu.unicore.uftp.rsync.RsyncData
 
RsyncStats - Class in eu.unicore.uftp.rsync
some stats about execution of the rsync per file
RsyncStats(String) - Constructor for class eu.unicore.uftp.rsync.RsyncStats
 
run() - Method in class eu.unicore.uftp.client.SessionCommands.Get
 
run() - Method in class eu.unicore.uftp.client.SessionCommands.LCD
 
run() - Method in class eu.unicore.uftp.client.SessionCommands.Put
 
run() - Method in class eu.unicore.uftp.client.SessionCommands.PWD
 
run() - Method in class eu.unicore.uftp.client.UFTPClient
 
run() - Method in class eu.unicore.uftp.client.UFTPSessionClient
 
run() - Method in class eu.unicore.uftp.jparss.PReader
 
run() - Method in class eu.unicore.uftp.jparss.PWriter
 
run() - Method in class eu.unicore.uftp.server.FileWatcher
check if target file has been touched and invoke the action if it has
run() - Method in class eu.unicore.uftp.server.ServerThread
while not halted, new connections are accepted and processed asynchronously using a thread pool
run() - Method in class eu.unicore.uftp.server.UFTPServer.JobConnectionWorker
 
run() - Method in class eu.unicore.uftp.server.UFTPServer
 
run() - Method in class eu.unicore.uftp.server.UFTPWorker
Open data connections, perform the data transfer, and close the connection.
runSession(Session) - Method in class eu.unicore.uftp.server.UFTPWorker
transfer multiple files.
runSingle(Session, File) - Method in class eu.unicore.uftp.server.UFTPWorker
transfer a single file - this is a UFTP-only behaviour not in line with the FTP protocol!

S

schedule(int, TimeUnit) - Method in class eu.unicore.uftp.server.FileWatcher
 
secret - Variable in class eu.unicore.uftp.dpc.ServerProtocol
 
sendControl(String) - Method in class eu.unicore.uftp.dpc.DPCClient
send a message over the control channel
sendControl(String) - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
send a message over the control channel
sendData(long, ByteChannel, int) - Method in interface eu.unicore.uftp.rsync.MasterChannel
Send data: the given number of data bytes from the input stream should be sent to the slave, followed by the index of the matching block
sendData(long, ByteChannel, int) - Method in class eu.unicore.uftp.rsync.SocketMasterChannel
 
sendData(Session) - Method in class eu.unicore.uftp.server.UFTPWorker
send data from a file
sendError(String) - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
sends error message (with code 500) over the control connection
sendError(int, String) - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
sends error message (with code) over the control connection
sendFeatures() - Method in class eu.unicore.uftp.dpc.ServerProtocol
 
sendStreamData(Session) - Method in class eu.unicore.uftp.server.UFTPWorker
send data from a file
sendTo(InetAddress, int) - Method in class eu.unicore.uftp.server.UFTPBaseRequest
utility method to send this job to a server.
sendTo(Socket) - Method in class eu.unicore.uftp.server.UFTPBaseRequest
utility method to send this job to a socket
sendToMaster(List<Long>, List<byte[]>, int) - Method in interface eu.unicore.uftp.rsync.SlaveChannel
sends the Slave's checksums to the Master
sendToMaster(List<Long>, List<byte[]>, int) - Method in class eu.unicore.uftp.rsync.SocketSlaveChannel
 
sendVersion() - Method in class eu.unicore.uftp.dpc.ServerProtocol
 
ServerProtocol - Class in eu.unicore.uftp.dpc
implements the server-side of the UFTP connection protocol
ServerProtocol() - Constructor for class eu.unicore.uftp.dpc.ServerProtocol
 
ServerThread - Class in eu.unicore.uftp.server
This class manages a list of UFTPTransferRequest instances, and waits for connection attempts from clients.
ServerThread(InetAddress, int, int, int, String, PortManager) - Constructor for class eu.unicore.uftp.server.ServerThread
create a new server thread
Session - Class in eu.unicore.uftp.dpc
A session is used to transfer multiple files and perform common operations like mkdir or remove
Session(DPCServer.Connection, UFTPTransferRequest, FileAccess, int) - Constructor for class eu.unicore.uftp.dpc.Session
 
SessionCommands - Class in eu.unicore.uftp.client
 
SessionCommands() - Constructor for class eu.unicore.uftp.client.SessionCommands
 
SessionCommands.CmdBase - Class in eu.unicore.uftp.client
 
SessionCommands.Get - Class in eu.unicore.uftp.client
download a remote file
SessionCommands.LCD - Class in eu.unicore.uftp.client
change local base dir
SessionCommands.Put - Class in eu.unicore.uftp.client
upload a remote file
SessionCommands.PWD - Class in eu.unicore.uftp.client
change local base dir
sessionModeTag - Static variable in class eu.unicore.uftp.server.UFTPWorker
tag used as "filename" to indicate session mode, i.e.
set(byte[], int, int) - Method in class eu.unicore.uftp.jparss.PReader
Set up total buffer to read for this parallel stream.
set(byte[], int, int) - Method in class eu.unicore.uftp.jparss.PWriter
Set up total buffer to write for this parallel stream.
setAuthtimeout(int) - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
setAuthTimeout(int) - Method in class eu.unicore.uftp.dpc.DPCClient
 
setBaseDirectory(File) - Method in class eu.unicore.uftp.client.UFTPSessionClient
set the local base directory
setBufferSize(int) - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
setBufferSize(int) - Method in class eu.unicore.uftp.server.ServerThread
 
setClient(UFTPSessionClient) - Method in class eu.unicore.uftp.client.SessionCommands.CmdBase
 
setCommandFile(String) - Method in class eu.unicore.uftp.client.UFTPSessionClient
 
setCompress(boolean) - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
setControlTimeout(int) - Method in class eu.unicore.uftp.dpc.DPCServer.Connection
set the timeout on the control connection
setDirectory(boolean) - Method in class eu.unicore.uftp.client.FileInfo
 
setEGid(int) - Static method in class eu.unicore.uftp.server.unix.UnixUser
Sets the effective group ID
setEUid(int) - Static method in class eu.unicore.uftp.server.unix.UnixUser
Sets the effective user ID
setFileAccess(UserFileAccess) - Method in class eu.unicore.uftp.rsync.Slave
 
setGid(int) - Static method in class eu.unicore.uftp.server.unix.UnixUser
Sets the real group ID
setKeepAlive(boolean) - Method in class eu.unicore.uftp.jparss.PBaseSocket
Enable/disable SO_KEEPALIVE.
setKey(byte[]) - Method in class eu.unicore.uftp.client.AbstractUFTPClient
set the (encoded) symmetric key to be used for encryption/decryption
setLastModified(long) - Method in class eu.unicore.uftp.client.FileInfo
 
setLowerBound(int) - Method in class eu.unicore.uftp.server.PortManager
 
setMaxControlConnectionsPerClient(int) - Method in class eu.unicore.uftp.server.ServerThread
 
setMaxStreamsPerConnection(int) - Method in class eu.unicore.uftp.server.ServerThread
 
setModificationTime(String, Calendar) - Method in class eu.unicore.uftp.client.UFTPSessionClient
set the modification time of a remote file/directory
setNumConnections(int) - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
setPath(String) - Method in class eu.unicore.uftp.client.FileInfo
 
setProgressListener(UFTPProgressListener) - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
setRange(long, long) - Method in class eu.unicore.uftp.dpc.Session
 
setReceiveBufferSize(int) - Method in class eu.unicore.uftp.jparss.PBaseSocket
Sets the SO_RCVBUF option to the specified value for this Socket.
setReGid(int, int) - Static method in class eu.unicore.uftp.server.unix.UnixUser
Sets the real and effective group ID
setReUid(int, int) - Static method in class eu.unicore.uftp.server.unix.UnixUser
Sets the real and effective user ID
setSecret(String) - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
setSendBufferSize(int) - Method in class eu.unicore.uftp.jparss.PBaseSocket
Sets the SO_SNDBUF option to the specified value for this Socket.
setSeq(int) - Method in class eu.unicore.uftp.jparss.PInputStream
set sequence number.
setSize(long) - Method in class eu.unicore.uftp.client.FileInfo
 
setSoLinger(boolean, int) - Method in class eu.unicore.uftp.jparss.PBaseSocket
Enable/disable SO_LINGER with the specified linger time in seconds.
setSoTimeout(int) - Method in class eu.unicore.uftp.jparss.PBaseSocket
Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds.
setTcpNoDelay(boolean) - Method in class eu.unicore.uftp.jparss.PBaseSocket
Enable/disable TCP_NODELAY (disable/enable Nagle's algorithm).
setTimeout(int) - Method in class eu.unicore.uftp.client.AbstractUFTPClient
 
setTimeout(int) - Method in class eu.unicore.uftp.dpc.DPCClient
 
setTimeout(int) - Method in class eu.unicore.uftp.dpc.DPCServer
 
setTimeout(int) - Method in class eu.unicore.uftp.server.ServerThread
set the timeout for accepting new connections
setTimeout(int) - Method in class eu.unicore.uftp.server.UFTPServer
 
setTransferSize(long) - Method in interface eu.unicore.uftp.client.UFTPProgressListener2
set the number of total bytes to transfer
setUid(int) - Static method in class eu.unicore.uftp.server.unix.UnixUser
Sets the real user ID
SetUIDFileAccess - Class in eu.unicore.uftp.server
This implementation of FileAccess uses native code to switch to the required user ID before creating or reading a file.
Thread safety: since the user id of the process is mofified, all public methods of this class MUST be synchronized
SetUIDFileAccess() - Constructor for class eu.unicore.uftp.server.SetUIDFileAccess
 
setupLocalFile(File, boolean) - Method in class eu.unicore.uftp.dpc.Session
 
setUpperBound(int) - Method in class eu.unicore.uftp.server.PortManager
 
setUser(String, String, String) - Method in class eu.unicore.uftp.server.DefaultFileAccess
 
setUser(String, String, String) - Method in interface eu.unicore.uftp.server.FileAccess
set user/group on the given file
setUser(String, String, String) - Method in class eu.unicore.uftp.server.SetUIDFileAccess
 
setUser(String) - Method in class eu.unicore.uftp.server.UserFileAccess
set user/group on the given file
shutdown() - Method in interface eu.unicore.uftp.rsync.MasterChannel
shutdown the channel
shutdown() - Method in class eu.unicore.uftp.rsync.SocketMasterChannel
 
shutdownInput() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Places the input stream for this socket at "end of stream".
shutdownOutput() - Method in class eu.unicore.uftp.jparss.PBaseSocket
Disables the output stream for this socket.
SIZE_REPLY - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
Slave - Class in eu.unicore.uftp.rsync
the slave has an out-of-date copy of a file which should be synchronized with the master copy.
Slave(File, SlaveChannel, String) - Constructor for class eu.unicore.uftp.rsync.Slave
 
Slave(RandomAccessFile, SlaveChannel, String) - Constructor for class eu.unicore.uftp.rsync.Slave
using the default blocksize
Slave(RandomAccessFile, SlaveChannel, String, int) - Constructor for class eu.unicore.uftp.rsync.Slave
 
SlaveChannel - Interface in eu.unicore.uftp.rsync
Slave-to-Master communication
socket - Variable in class eu.unicore.uftp.client.AbstractUFTPClient
 
SocketMasterChannel - Class in eu.unicore.uftp.rsync
 
SocketMasterChannel(Socket) - Constructor for class eu.unicore.uftp.rsync.SocketMasterChannel
 
sockets_ - Variable in class eu.unicore.uftp.jparss.PBaseSocket
Internal stream sockets.
SocketSlaveChannel - Class in eu.unicore.uftp.rsync
 
SocketSlaveChannel(Socket) - Constructor for class eu.unicore.uftp.rsync.SocketSlaveChannel
 
stat(String) - Method in class eu.unicore.uftp.client.UFTPSessionClient
get file information for the given file/dir (which is relative to the current dir)
stat(String, String, String) - Method in class eu.unicore.uftp.server.DefaultFileAccess
 
stat(String, String, String) - Method in interface eu.unicore.uftp.server.FileAccess
get info on a single file
stat(String, String, String) - Method in class eu.unicore.uftp.server.SetUIDFileAccess
 
stat(String) - Method in class eu.unicore.uftp.server.UserFileAccess
get info on a single file
stop() - Method in class eu.unicore.uftp.server.UFTPServer
stops the server.
SUCCESS - Static variable in class eu.unicore.uftp.server.unix.UnixUser
 
sum(long, long) - Static method in class eu.unicore.uftp.rsync.Checksum
 
syncLocalFile(String, File) - Method in class eu.unicore.uftp.client.UFTPSessionClient
sync a local file with its up-to-date remote version
syncMaster(Session) - Method in class eu.unicore.uftp.server.UFTPWorker
 
syncRemoteFile(File, String) - Method in class eu.unicore.uftp.client.UFTPSessionClient
sync a remote file with its up-to-date local version
syncSlave(Session) - Method in class eu.unicore.uftp.server.UFTPWorker
 
SYNERR - Static variable in class eu.unicore.uftp.client.AbstractUFTPClient
Errorcodes
SYNERR - Static variable in class eu.unicore.uftp.server.UFTPServer
Error codes
SYST - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
SYSTEM_REPLY - Static variable in class eu.unicore.uftp.server.UFTPCommands
 

T

THREADERR - Static variable in class eu.unicore.uftp.server.UFTPServer
 
toMListEntry() - Method in class eu.unicore.uftp.client.FileInfo
 
toString() - Method in class eu.unicore.uftp.client.FileInfo
 
toString() - Method in class eu.unicore.uftp.dpc.Reply
 
toString() - Method in class eu.unicore.uftp.rsync.RsyncStats
 
toString() - Method in class eu.unicore.uftp.server.UFTPTransferRequest
 
toString() - Method in class eu.unicore.uftp.server.unix.UnixGroup
 
toString() - Method in class eu.unicore.uftp.server.unix.UnixUser
 
toTime(String) - Static method in class eu.unicore.uftp.client.FileInfo
 
toTimeVal(long) - Static method in class eu.unicore.uftp.client.FileInfo
 
transferred - Variable in class eu.unicore.uftp.rsync.RsyncStats
 
trim(String) - Static method in class eu.unicore.uftp.dpc.Utils
this removes leading and trailing \" characters

U

UFTPBaseRequest - Class in eu.unicore.uftp.server
request to the UFTPD sent via the command socket
UFTPBaseRequest() - Constructor for class eu.unicore.uftp.server.UFTPBaseRequest
 
UFTPClient - Class in eu.unicore.uftp.client
Client class for handling UFTP transfers
There are two ways to use this class: as a commandline tool directly via its API
UFTPClient(InetAddress[], int, String, boolean, boolean) - Constructor for class eu.unicore.uftp.client.UFTPClient
create a new UFTP client for file transfer from/to the given server
UFTPClient(InetAddress[], int, InputStream) - Constructor for class eu.unicore.uftp.client.UFTPClient
create a new UFTP client for writing data to the given server, which is read from the specified source
UFTPClient(InetAddress[], int, OutputStream) - Constructor for class eu.unicore.uftp.client.UFTPClient
create a new UFTP client for reading data from the given server and writing it to the specified target
UFTPCommands - Class in eu.unicore.uftp.server
 
UFTPCommands() - Constructor for class eu.unicore.uftp.server.UFTPCommands
 
UFTPPingRequest - Class in eu.unicore.uftp.server
used to "ping" the UFTPD server and get some version info (and monitoring info TODO) back
UFTPPingRequest() - Constructor for class eu.unicore.uftp.server.UFTPPingRequest
 
UFTPProgressListener - Interface in eu.unicore.uftp.client
 
UFTPProgressListener2 - Interface in eu.unicore.uftp.client
 
UFTPServer - Class in eu.unicore.uftp.server
Server for sending/receiving data using dynamic port opening in firewalls via a pseudo-FTP connection.
UFTPServer(InetAddress, int, InetAddress, int, String, PortManager) - Constructor for class eu.unicore.uftp.server.UFTPServer
 
UFTPServer(InetAddress, int, InetAddress, int) - Constructor for class eu.unicore.uftp.server.UFTPServer
 
UFTPServer.JobConnectionWorker - Class in eu.unicore.uftp.server
 
UFTPSessionClient - Class in eu.unicore.uftp.client
Client class for managing a UFTP session.
UFTPSessionClient(InetAddress[], int) - Constructor for class eu.unicore.uftp.client.UFTPSessionClient
create a new UFTP session client
UFTPTransferRequest - Class in eu.unicore.uftp.server
describes a data transfer between server and client
UFTPTransferRequest(InetAddress, boolean, int, File, boolean, String, String, String, byte[], long, boolean) - Constructor for class eu.unicore.uftp.server.UFTPTransferRequest
 
UFTPTransferRequest(InetAddress, boolean, int, File, boolean, String, String, String, byte[]) - Constructor for class eu.unicore.uftp.server.UFTPTransferRequest
 
UFTPTransferRequest(Properties) - Constructor for class eu.unicore.uftp.server.UFTPTransferRequest
build a job from the given string in the java properties format 'client-ip=...' 'send=...' 'file=-...' 'numcons=...' 'secret=....'
UFTPTransferRequest(String) - Constructor for class eu.unicore.uftp.server.UFTPTransferRequest
 
UFTPWorker - Class in eu.unicore.uftp.server
A UFTPWorker processes a single Job
UFTPWorker(ServerThread, DPCServer.Connection, UFTPTransferRequest, int, int) - Constructor for class eu.unicore.uftp.server.UFTPWorker
 
UnixGroup - Class in eu.unicore.uftp.server.unix
 
UnixGroup(String) - Constructor for class eu.unicore.uftp.server.unix.UnixGroup
Looks up a user according to the group name.
UnixGroup(int) - Constructor for class eu.unicore.uftp.server.unix.UnixGroup
Looks up a user according to the group's GID.
UnixUser - Class in eu.unicore.uftp.server.unix
UNIX user information
UnixUser(String) - Constructor for class eu.unicore.uftp.server.unix.UnixUser
Looks up a user according to the user name.
UnixUser(int) - Constructor for class eu.unicore.uftp.server.unix.UnixUser
Looks up a user according to the user's UID.
update(long, long, byte, byte) - Method in class eu.unicore.uftp.rsync.RollingChecksum
compute the rolling checksum for the given parameters
USER_ANON - Static variable in class eu.unicore.uftp.server.UFTPCommands
 
UserFileAccess - Class in eu.unicore.uftp.server
wraps file access (read/write operations) and other operations which need to be performed as a fixed user/group
UserFileAccess(FileAccess, String, String) - Constructor for class eu.unicore.uftp.server.UserFileAccess
 
usethreads - Static variable in class eu.unicore.uftp.jparss.PConfig
Are we using threads or not.
Utils - Class in eu.unicore.uftp.dpc
 
Utils() - Constructor for class eu.unicore.uftp.dpc.Utils
 

V

VER - Static variable in class eu.unicore.uftp.dpc.DPCServer
 
VER - Static variable in class eu.unicore.uftp.dpc.ServerProtocol
 

W

weakMatches - Variable in class eu.unicore.uftp.rsync.RsyncStats
 
whoami() - Static method in class eu.unicore.uftp.server.unix.UnixUser
Returns a user object for the current user.
write(int) - Method in class eu.unicore.uftp.jparss.POutputStream
Writes the specified byte to this output stream.
write(byte[]) - Method in class eu.unicore.uftp.jparss.POutputStream
Writes b.length bytes from the specified byte array to this output stream.
write(byte[], int, int) - Method in class eu.unicore.uftp.jparss.POutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
writeAll(String, InputStream) - Method in class eu.unicore.uftp.client.UFTPSessionClient
write all the data from the input stream to a remote file
writeData() - Method in class eu.unicore.uftp.jparss.PWriter
Writer writes to an output stream
writeEncoded(OutputStream) - Method in class eu.unicore.uftp.server.UFTPBaseRequest
writes out the request in properties format 'client-ip=...' 'send=...' etc
writeEncoded(OutputStream) - Method in class eu.unicore.uftp.server.UFTPPingRequest
writes out the job in properties format 'client-ip=...' 'send=...' etc
writeEncoded(OutputStream) - Method in class eu.unicore.uftp.server.UFTPTransferRequest
writes out the job in properties format 'client-ip=...' 'send=...' etc
writeFile(String, boolean, String, String, int) - Method in class eu.unicore.uftp.server.DefaultFileAccess
 
writeFile(String, boolean, String, String, int) - Method in interface eu.unicore.uftp.server.FileAccess
create a OutputStream for writing
writeFile(String, boolean, String, String, int) - Method in class eu.unicore.uftp.server.SetUIDFileAccess
 
writeFile(String, boolean, int) - Method in class eu.unicore.uftp.server.UserFileAccess
create a OutputStream for writing
writeParallel(byte[], int, int) - Method in class eu.unicore.uftp.jparss.POutputStream
 
writer - Variable in class eu.unicore.uftp.client.AbstractUFTPClient
 
writerStatus(int, boolean) - Method in class eu.unicore.uftp.jparss.POutputStream
Update writer status by individual writer.
writeSingleThreaded(byte[], int, int) - Method in class eu.unicore.uftp.jparss.POutputStream
 
writeToFile(String, File) - Static method in class eu.unicore.uftp.dpc.Utils
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2010–2016 UNICORE. All rights reserved.