- 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
-
- 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
-
- getRandomAccessFile(File, String, String, String) - Method in class eu.unicore.uftp.server.SetUIDFileAccess
-
- getRandomAccessFile(File, String) - Method in class eu.unicore.uftp.server.UserFileAccess
-
- 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
-
- 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
-
- readFile(String, String, String, int) - Method in class eu.unicore.uftp.server.SetUIDFileAccess
-
- readFile(String, int) - Method in class eu.unicore.uftp.server.UserFileAccess
-
- 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!
- 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
-
- 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
-