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

A

a - Variable in class org.metastatic.rsync.Checksum32
The first half of the checksum.
a - Variable in class org.metastatic.rsync.MD4
 
A - Static variable in class org.metastatic.rsync.MD4
 
accept(File, String) - Method in class org.metastatic.rsync.v2.Glob
 
addListener(GeneratorListener) - Method in class org.metastatic.rsync.GeneratorStream
Add a GeneratorListener to the list of listeners.
addListener(MatcherListener) - Method in class org.metastatic.rsync.MatcherStream
Add a MatcherListener to the list of listeners.
addListener(RebuilderListener) - Method in class org.metastatic.rsync.RebuilderStream
Add a RebuilderListener listener to this rebuilder.
address - Variable in class org.metastatic.rsync.v2.Daemon
 
always_checksum - Variable in class org.metastatic.rsync.v2.Options
 
am_root - Variable in class org.metastatic.rsync.v2.Options
 
am_sender - Variable in class org.metastatic.rsync.v2.Options
 
am_server - Variable in class org.metastatic.rsync.v2.Options
 
argv - Variable in class org.metastatic.rsync.v2.Protocol
 
argv - Variable in class gnu.getopt.Getopt
Saved argument list passed to the program
AT_ERROR - Static variable in interface org.metastatic.rsync.v2.Constants
Error.
authenticate(String, String) - Method in class org.metastatic.rsync.v2.SocketClient
Authenticate the user to the server.
authReqd - Variable in class org.metastatic.rsync.v2.SocketClient
Whether or not the server wants authorization.
authRequired() - Method in class org.metastatic.rsync.v2.SocketClient
Test if authentication is required.

B

b - Variable in class org.metastatic.rsync.Checksum32
The second half of the checksum.
b - Variable in class org.metastatic.rsync.MD4
 
B - Static variable in class org.metastatic.rsync.MD4
 
backup_dir - Variable in class org.metastatic.rsync.v2.Options
 
backup_suffix - Variable in class org.metastatic.rsync.v2.Options
 
BASE_64 - Static variable in class org.metastatic.rsync.Util
The characters for Base64 encoding.
base64(byte[]) - Static method in class org.metastatic.rsync.Util
Base-64 encode a byte array, returning the returning string.
basename - Variable in class org.metastatic.rsync.v2.FileInfo
 
basisFile - Variable in class org.metastatic.rsync.RebuilderStream
The basis file.
begin(String) - Method in class org.metastatic.rsync.Parameters
Begin parsing file filename.
beginSection(String) - Method in interface org.metastatic.rsync.ParameterListener
Begin a named section.
beginSection(String) - Method in class org.metastatic.rsync.v2.RsyncdConf
 
block - Variable in class org.metastatic.rsync.Checksum32
The block from which the checksum is computed.
BLOCK_LENGTH - Static variable in class org.metastatic.rsync.Configuration
The default block size.
BLOCK_LENGTH - Static variable in class org.metastatic.rsync.MD4
The MD4 algorithm operates on 512-bit blocks, or 64 bytes.
BLOCK_LENGTH - Static variable in interface org.metastatic.rsync.v2.Constants
The default block size.
block_size - Variable in class org.metastatic.rsync.v2.Options
 
blocking_io - Variable in class org.metastatic.rsync.v2.Options
 
blockLength - Variable in class org.metastatic.rsync.Rdiff
The length of blocks to checksum.
blockLength - Variable in class org.metastatic.rsync.Offsets
The size of the moved block, in bytes.
blockLength - Variable in class org.metastatic.rsync.Configuration
The length of blocks to checksum.
BrokenMD4 - class org.metastatic.rsync.BrokenMD4.
An implementation of Ron Rivest's MD4 message digest algorithm.
BrokenMD4() - Constructor for class org.metastatic.rsync.BrokenMD4
Trivial zero-argument constructor.
buffer - Variable in class org.metastatic.rsync.MatcherStream
The intermediate byte buffer.
buffer - Variable in class org.metastatic.rsync.GeneratorStream
The intermediate byte buffer.
buffer - Variable in class org.metastatic.rsync.MD4
 
buffer - Variable in class org.metastatic.rsync.v2.DuplexByteBuffer
 
BufferUtil - class org.metastatic.rsync.v2.BufferUtil.
 
BufferUtil() - Constructor for class org.metastatic.rsync.v2.BufferUtil
 
bwlimit - Variable in class org.metastatic.rsync.v2.Options
 

C

c - Variable in class org.metastatic.rsync.MD4
 
C - Static variable in class org.metastatic.rsync.MD4
 
cause - Variable in class org.metastatic.rsync.ListenerException
 
challenge - Variable in class org.metastatic.rsync.v2.Protocol
 
challenge - Variable in class org.metastatic.rsync.v2.SocketClient
The server's authentication challenge.
char_offset - Variable in class org.metastatic.rsync.Checksum32
 
CHAR_OFFSET - Static variable in class org.metastatic.rsync.Rdiff
 
check(byte[], int, int) - Method in class org.metastatic.rsync.Checksum32
Update the checksum with an entirely different block, and potentially a different block length.
check(byte[], int, int) - Method in interface org.metastatic.rsync.RollingChecksum
Replaces the current internal state with entirely new data.
checkError() - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
checkLongOption() - Method in class gnu.getopt.Getopt
Check to see if an option is a valid long option.
Checksum32 - class org.metastatic.rsync.Checksum32.
A simple 32-bit "rolling" checksum.
Checksum32() - Constructor for class org.metastatic.rsync.Checksum32
 
Checksum32(int) - Constructor for class org.metastatic.rsync.Checksum32
Creates a new rolling checksum.
ChecksumDecoder - class org.metastatic.rsync.ChecksumDecoder.
The base class of objects that decode (internalize) checksum pairs from byte streams.
ChecksumDecoder - class org.metastatic.rsync.v2.ChecksumDecoder.
 
ChecksumDecoder(Configuration, InputStream) - Constructor for class org.metastatic.rsync.ChecksumDecoder
 
ChecksumDecoder(Configuration, InputStream) - Constructor for class org.metastatic.rsync.v2.ChecksumDecoder
 
ChecksumEncoder - class org.metastatic.rsync.ChecksumEncoder.
The base class of objects that encode (externalize) checksum pairs to byte streams.
ChecksumEncoder - class org.metastatic.rsync.v2.ChecksumEncoder.
 
ChecksumEncoder(Configuration, OutputStream) - Constructor for class org.metastatic.rsync.ChecksumEncoder
 
ChecksumEncoder(Configuration, OutputStream) - Constructor for class org.metastatic.rsync.v2.ChecksumEncoder
 
ChecksumPair - class org.metastatic.rsync.ChecksumPair.
A pair of weak and strong checksums for use with the Rsync algorithm.
ChecksumPair(int, byte[]) - Constructor for class org.metastatic.rsync.ChecksumPair
Create a new checksum pair with no associated offset.
ChecksumPair(int, byte[], long) - Constructor for class org.metastatic.rsync.ChecksumPair
Create a new checksum pair with no length or sequence fields.
ChecksumPair(int, byte[], long, int, int) - Constructor for class org.metastatic.rsync.ChecksumPair
Create a new checksum pair.
checksumSeed - Variable in class org.metastatic.rsync.Configuration
The seed for the checksum, to perturb the strong checksum and help avoid collisions in plain rsync (or in similar applicaitons).
CHUNK_SIZE - Static variable in class org.metastatic.rsync.Rdiff
 
CHUNK_SIZE - Static variable in class org.metastatic.rsync.Configuration
The default chunk size.
CHUNK_SIZE - Static variable in interface org.metastatic.rsync.v2.Constants
The chunk size.
chunkSize - Variable in class org.metastatic.rsync.Matcher
The size of allocated byte arrays.
chunkSize - Variable in class org.metastatic.rsync.Configuration
The maximum size of byte arrays to create, when they are needed.
clear() - Method in class org.metastatic.rsync.TwoKeyMap
Clear this Map.
client - Variable in class org.metastatic.rsync.v2.Protocol
 
Client - class org.metastatic.rsync.v2.Client.
 
clientRun(String[], int) - Static method in class org.metastatic.rsync.v2.Client
 
clone() - Method in class org.metastatic.rsync.BrokenMD4
 
clone() - Method in class org.metastatic.rsync.Checksum32
 
clone() - Method in interface org.metastatic.rsync.RollingChecksum
Copies this checksum instance into a new instance.
clone() - Method in class org.metastatic.rsync.Configuration
 
clone() - Method in class org.metastatic.rsync.MD4
 
close() - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
comment - Variable in class org.metastatic.rsync.v2.Module
 
compare_dest - Variable in class org.metastatic.rsync.v2.Options
 
compareTo(Object) - Method in class org.metastatic.rsync.TwoKeyMap.StrongKey
Compare this object to another.
compareTo(Object) - Method in class org.metastatic.rsync.v2.Module
 
config - Variable in class org.metastatic.rsync.ChecksumDecoder
The configuration object.
config - Variable in class org.metastatic.rsync.DeltaDecoder
The configuration.
config - Variable in class org.metastatic.rsync.DeltaEncoder
The configuration.
config - Variable in class org.metastatic.rsync.ChecksumEncoder
The configuration object.
config - Variable in class org.metastatic.rsync.MatcherStream
The configuration.
config - Variable in class org.metastatic.rsync.GeneratorStream
The configuration.
config - Variable in class org.metastatic.rsync.Generator
Our configuration.
config - Variable in class org.metastatic.rsync.v2.Protocol
 
Configuration - class org.metastatic.rsync.Configuration.
A Configuration is a mere collection of objects and values that compose a particular configuration for the algorithm, for example the message digest that computes the strong checksum.
Configuration() - Constructor for class org.metastatic.rsync.Configuration
 
configure(String) - Method in class org.metastatic.rsync.v2.Daemon
 
connect(String, int, String) - Static method in class org.metastatic.rsync.v2.SocketClient
Connect to host over port, asking for module.
connect(String, String) - Static method in class org.metastatic.rsync.v2.SocketClient
Connect to host over port 873, asking for module.
connected - Variable in class org.metastatic.rsync.v2.Protocol
 
connected - Variable in class org.metastatic.rsync.v2.SocketClient
Our connection status.
connected() - Method in class org.metastatic.rsync.v2.SocketClient
See if we are connected.
connectionFinished() - Method in class org.metastatic.rsync.v2.Protocol
Return whether or not this protocol's connection is finished.
connections - Variable in class org.metastatic.rsync.v2.Module
 
ConsoleClient - class org.metastatic.rsync.v2.ConsoleClient.
 
ConsoleClient() - Constructor for class org.metastatic.rsync.v2.ConsoleClient
 
Constants - interface org.metastatic.rsync.v2.Constants.
A number of useful constants in rsync.
containsKey(int) - Method in class org.metastatic.rsync.TwoKeyMap
Test if the map contains the lower two bytes of the weak key.
containsKey(Object) - Method in class org.metastatic.rsync.TwoKeyMap
Test if this map contains either the supplied weak key (if the argument is an Integer) or both the weak and strong keys (if the argument is a ChecksumPair).
containsKey(TwoKeyMap.StrongKey) - Method in class org.metastatic.rsync.TwoKeyMap.SubTable
Test if this sub-table contains the given key.
containsValue(Object) - Method in class org.metastatic.rsync.TwoKeyMap
Test if the given value is in one of the sub-tables.
containsValue(Object) - Method in class org.metastatic.rsync.TwoKeyMap.SubTable
Test if this sub-table contains the given value.
copy_links - Variable in class org.metastatic.rsync.v2.Options
 
copy_unsafe_links - Variable in class org.metastatic.rsync.v2.Options
 
count - Variable in class org.metastatic.rsync.MatcherStream
The number of bytes summed thusfar.
count - Variable in class org.metastatic.rsync.GeneratorStream
The number of bytes summed thusfar.
count - Variable in class org.metastatic.rsync.MD4
 
createFileList(String[], int, int) - Method in class org.metastatic.rsync.v2.FileList
 
cvs_exclude - Variable in class org.metastatic.rsync.v2.Options
 

D

d - Variable in class org.metastatic.rsync.MD4
 
D - Static variable in class org.metastatic.rsync.MD4
 
Daemon - class org.metastatic.rsync.v2.Daemon.
 
Daemon() - Constructor for class org.metastatic.rsync.v2.Daemon
 
data - Variable in class org.metastatic.rsync.TwoKeyMap.SubTable
The sub-table, a Map that is an instance of TreeMap.
data - Variable in class org.metastatic.rsync.DataBlock
The block of data to insert.
DataBlock - class org.metastatic.rsync.DataBlock.
This is the Delta in the rsync algorithm that introduces new data.
DataBlock(long, byte[]) - Constructor for class org.metastatic.rsync.DataBlock
Create a new instance of a DataBlock with a given offset and block of bytes.
DataBlock(long, byte[], int, int) - Constructor for class org.metastatic.rsync.DataBlock
Create a new instance of a DataBlock with a given offset and a portion of a byte array.
debug - Variable in class org.metastatic.rsync.v2.Daemon
 
delete_after - Variable in class org.metastatic.rsync.v2.Options
 
delete_excluded - Variable in class org.metastatic.rsync.v2.Options
 
delete_mode - Variable in class org.metastatic.rsync.v2.Options
 
Delta - interface org.metastatic.rsync.Delta.
A Delta is, in the Rsync algorithm, one of two things: (1) a block of bytes and an offset, or (2) a pair of offsets, one old and one new.
DELTA - Static variable in class org.metastatic.rsync.Rdiff
The `delta' command.
DELTA_MAGIC - Static variable in class org.metastatic.rsync.Rdiff
Rdiff/rproxy delta magic.
DeltaDecoder - class org.metastatic.rsync.DeltaDecoder.
The superclass of all classes that decode delta objects from an external, binary format.
DeltaDecoder(Configuration, InputStream) - Constructor for class org.metastatic.rsync.DeltaDecoder
 
DeltaEncoder - class org.metastatic.rsync.DeltaEncoder.
The superclass of objects that encode sets of deltas to external representations, such as the over-the-wire format of rsync or the rdiff file format.
DeltaEncoder(Configuration, OutputStream) - Constructor for class org.metastatic.rsync.DeltaEncoder
Creates a new delta encoder.
deltas - Variable in class org.metastatic.rsync.Matcher
The list of deltas being built.
destroy() - Method in class org.metastatic.rsync.v2.Secrets
 
DIGEST_LENGTH - Static variable in class org.metastatic.rsync.MD4
An MD4 message digest is always 128-bits long, or 16 bytes.
dirname - Variable in class org.metastatic.rsync.v2.FileInfo
 
do_compression - Variable in class org.metastatic.rsync.v2.Options
 
do_progress - Variable in class org.metastatic.rsync.v2.Options
 
do_stats - Variable in class org.metastatic.rsync.v2.Options
 
doFinal() - Method in class org.metastatic.rsync.DeltaEncoder
Finish encoding the deltas (at least, this set of deltas) and write any encoding-specific end-of-deltas entity.
doFinal() - Method in class org.metastatic.rsync.ChecksumEncoder
Finishes encoding by emitting any end-of-checksums markers.
doFinal() - Method in class org.metastatic.rsync.MatcherStream
Flush any buffered data and reset this instance.
doFinal() - Method in class org.metastatic.rsync.RebuilderStream
 
doFinal() - Method in class org.metastatic.rsync.GeneratorStream
Finish generating checksums, flushing any buffered data and resetting this instance.
doFinal() - Method in class org.metastatic.rsync.v2.PlainDeltaEncoder
 
doFinal() - Method in class org.metastatic.rsync.v2.ChecksumEncoder
 
dontCompress - Variable in class org.metastatic.rsync.v2.Module
 
doRunLength - Variable in class org.metastatic.rsync.Configuration
Whether or not to do run-length encoding when making Deltas.
dry_run - Variable in class org.metastatic.rsync.v2.Options
 
duplex - Variable in class org.metastatic.rsync.v2.DuplexByteBuffer
 
duplex - Variable in class org.metastatic.rsync.v2.Protocol
 
DuplexByteBuffer - class org.metastatic.rsync.v2.DuplexByteBuffer.
 
DuplexByteBuffer(ByteBuffer) - Constructor for class org.metastatic.rsync.v2.DuplexByteBuffer
 

E

encoder - Variable in class org.metastatic.rsync.v2.Protocol
 
engineDigest() - Method in class org.metastatic.rsync.BrokenMD4
Pack the four chaining variables into a byte array.
engineDigest() - Method in class org.metastatic.rsync.MD4
Pack the four chaining variables into a byte array.
engineDigest(byte[], int, int) - Method in class org.metastatic.rsync.MD4
 
engineGetDigestLength() - Method in class org.metastatic.rsync.MD4
 
engineReset() - Method in class org.metastatic.rsync.MD4
Reset the four chaining variables.
engineUpdate(byte) - Method in class org.metastatic.rsync.MD4
 
engineUpdate(byte[], int, int) - Method in class org.metastatic.rsync.MD4
 
entrySet() - Method in class org.metastatic.rsync.TwoKeyMap
Return an unmodifiable set of the SubTable objects in this class.
equals(Object) - Method in class org.metastatic.rsync.TwoKeyMap
Test if this object equals another.
equals(Object) - Method in class org.metastatic.rsync.TwoKeyMap.SubTable
Test if another object equals this one.
equals(Object) - Method in class org.metastatic.rsync.TwoKeyMap.StrongKey
Test if this key equals another.
equals(Object) - Method in class org.metastatic.rsync.Checksum32
 
equals(Object) - Method in class org.metastatic.rsync.Offsets
Test if one object is equal to this one.
equals(Object) - Method in interface org.metastatic.rsync.RollingChecksum
Tests if a particular checksum is equal to this checksum.
equals(Object) - Method in class org.metastatic.rsync.DataBlock
Test if another object equals this one.
equals(Object) - Method in class org.metastatic.rsync.ChecksumPair
We define equality for this object as equality between two weak sums and equality between two strong sums.
error - Variable in class org.metastatic.rsync.v2.Protocol
 
error - Variable in class org.metastatic.rsync.v2.SocketClient
 
exchange(String[]) - Method in class gnu.getopt.Getopt
Exchange the shorter segment with the far end of the longer segment.
exclude - Variable in class org.metastatic.rsync.v2.Module
 
exclude - Variable in class org.metastatic.rsync.v2.Options
 
exclude_from - Variable in class org.metastatic.rsync.v2.Options
 
excludeFrom - Variable in class org.metastatic.rsync.v2.Module
 

F

FERROR - Static variable in interface org.metastatic.rsync.v2.MultiplexedIO
 
FileInfo - class org.metastatic.rsync.v2.FileInfo.
Basic information about files that are being sent over the wire.
FileInfo() - Constructor for class org.metastatic.rsync.v2.FileInfo
 
FileInfo(File) - Constructor for class org.metastatic.rsync.v2.FileInfo
 
fileList - Variable in class org.metastatic.rsync.v2.Protocol
 
FileList - class org.metastatic.rsync.v2.FileList.
 
FileList(MultiplexedInputStream, MultiplexedOutputStream, int, boolean, Options) - Constructor for class org.metastatic.rsync.v2.FileList
 
filename() - Method in class org.metastatic.rsync.v2.FileInfo
 
FINFO - Static variable in interface org.metastatic.rsync.v2.MultiplexedIO
 
first_nonopt - Variable in class gnu.getopt.Getopt
The index of the first non-option in argv[]
flag - Variable in class gnu.getopt.LongOpt
If this variable is not null, then the value stored in "val" is stored here when this long option is encountered.
FLAG_DELETE - Static variable in interface org.metastatic.rsync.v2.Constants
 
flags - Variable in class org.metastatic.rsync.v2.FileInfo
 
FLIST_RECEIVE_DONE - Static variable in interface org.metastatic.rsync.v2.Constants
 
FLIST_RECEIVE_FILES - Static variable in interface org.metastatic.rsync.v2.Constants
 
FLIST_RECEIVE_GIDS - Static variable in interface org.metastatic.rsync.v2.Constants
 
FLIST_RECEIVE_UIDS - Static variable in interface org.metastatic.rsync.v2.Constants
 
FLIST_SEND_DONE - Static variable in interface org.metastatic.rsync.v2.Constants
 
FLIST_SEND_FILES - Static variable in interface org.metastatic.rsync.v2.Constants
 
FLIST_SEND_GIDS - Static variable in interface org.metastatic.rsync.v2.Constants
 
FLIST_SEND_UIDS - Static variable in interface org.metastatic.rsync.v2.Constants
 
flist_size - Variable in class org.metastatic.rsync.v2.Statistics
 
FLOG - Static variable in interface org.metastatic.rsync.v2.MultiplexedIO
 
flush() - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
flush() - Method in class org.metastatic.rsync.v2.DuplexByteBuffer
 
flush() - Method in class org.metastatic.rsync.v2.MultiplexedOutputStream
Write any buffered bytes to the stream.
FNM_CASEFOLD - Static variable in class org.metastatic.rsync.v2.FNMatch
Compare without regard to case.
FNM_FILE_NAME - Static variable in class org.metastatic.rsync.v2.FNMatch
Preferred GNU name.
FNM_LEADING_DIR - Static variable in class org.metastatic.rsync.v2.FNMatch
Ignore `/...' after a match.
FNM_MATCH - Static variable in class org.metastatic.rsync.v2.FNMatch
Value returned by fnmatch() if STRING matches PATTERN.
FNM_NOESCAPE - Static variable in class org.metastatic.rsync.v2.FNMatch
Backslashes don't quote special chars.
FNM_NOMATCH - Static variable in class org.metastatic.rsync.v2.FNMatch
Value returned by fnmatch() if STRING does not match PATTERN.
FNM_PATHNAME - Static variable in class org.metastatic.rsync.v2.FNMatch
No wildcard can ever match `/'.
FNM_PERIOD - Static variable in class org.metastatic.rsync.v2.FNMatch
Leading `.' is matched only explicitly.
FNMatch - class org.metastatic.rsync.v2.FNMatch.
Handles wildcards for filename matching.
FNMatch() - Constructor for class org.metastatic.rsync.v2.FNMatch
 
fnmatch(String, String, int) - Static method in class org.metastatic.rsync.v2.FNMatch
Match STRING against the filename pattern PATTERN, returning FNM_MATCH if it matches, FNM_NOMATCH if not.
FNONE - Static variable in interface org.metastatic.rsync.v2.MultiplexedIO
 
fold(char, int) - Static method in class org.metastatic.rsync.v2.FNMatch
If flags has its FNM_CASEFOLD bit set, then returns the lowercase of c; otherwise returns c.
force_delete - Variable in class org.metastatic.rsync.v2.Options
 

G

generateFiles(List) - Method in class org.metastatic.rsync.v2.Receiver
Generate the checksums for a list of files and send them to the other side.
generateSum(byte[], int, int) - Method in class org.metastatic.rsync.GeneratorStream
Generate a sum pair for a portion of a byte array.
generateSum(byte[], int, int, long) - Method in class org.metastatic.rsync.Generator
Generate a sum pair for a portion of a byte array.
generateSum(byte[], long) - Method in class org.metastatic.rsync.Generator
Generate a sum pair for an entire byte array.
generateSums(byte[]) - Method in class org.metastatic.rsync.Generator
Generate checksums over an entire byte array, with a base offset of 0.
generateSums(byte[], int, int) - Method in class org.metastatic.rsync.Generator
Generate checksums over a portion of a byte array, with a base offset of 0.
generateSums(byte[], int, int, long) - Method in class org.metastatic.rsync.Generator
Generate checksums over a portion of abyte array, with a specified base offset.
generateSums(byte[], long) - Method in class org.metastatic.rsync.Generator
Generate checksums over an entire byte array, with a specified base offset.
generateSums(File) - Method in class org.metastatic.rsync.Generator
Generate checksums for an entire file.
generateSums(InputStream) - Method in class org.metastatic.rsync.Generator
Generate checksums for an InputStream.
Generator - class org.metastatic.rsync.Generator.
Checksum generation methods.
Generator(Configuration) - Constructor for class org.metastatic.rsync.Generator
 
GeneratorEvent - class org.metastatic.rsync.GeneratorEvent.
Generator events are created whenever a checksum pair has been created.
GeneratorEvent(ChecksumPair) - Constructor for class org.metastatic.rsync.GeneratorEvent
Create a new generator event.
GeneratorListener - interface org.metastatic.rsync.GeneratorListener.
Standard interface for the checksum generator callback, called by GeneratorStream when new checksum pairs are ready.
GeneratorStream - class org.metastatic.rsync.GeneratorStream.
 
GeneratorStream(Configuration) - Constructor for class org.metastatic.rsync.GeneratorStream
 
get(Object) - Method in class org.metastatic.rsync.TwoKeyMap
Get the object mapped to by the given key pair.
get(TwoKeyMap.StrongKey) - Method in class org.metastatic.rsync.TwoKeyMap.SubTable
Get the Object that is mapped by the strong key key.
getBlockLength() - Method in class org.metastatic.rsync.Offsets
 
getBlockLength() - Method in interface org.metastatic.rsync.Delta
The size of the block of data this class represents.
getBlockLength() - Method in class org.metastatic.rsync.DataBlock
 
getBytes() - Method in class org.metastatic.rsync.TwoKeyMap.StrongKey
Return the bytes that compose this Key.
getCause() - Method in class org.metastatic.rsync.ListenerException
Gets the cause of this exception, or null if the cause is unknown.
getChecksumPair() - Method in class org.metastatic.rsync.GeneratorEvent
Returns the source of this event, already cast to a ChecksumPair.
getData() - Method in class org.metastatic.rsync.RebuilderEvent
Get the data.
getData() - Method in class org.metastatic.rsync.DataBlock
Return the array of bytes that is the data block.
getDelta() - Method in class org.metastatic.rsync.MatcherEvent
 
getError() - Method in class org.metastatic.rsync.v2.SocketClient
Get the last error message the server reported.
getFlag() - Method in class gnu.getopt.LongOpt
Returns the value of the 'flag' field for this long option
getHasArg() - Method in class gnu.getopt.LongOpt
Returns the value set for the 'has_arg' field for this long option
getInputBuffer() - Method in class org.metastatic.rsync.v2.Protocol
Get the byte buffer for input coming over the socket.
getInstance(String, Configuration, InputStream) - Static method in class org.metastatic.rsync.ChecksumDecoder
Gets an instance of a checksum decoder for the specified encoding.
getInstance(String, Configuration, InputStream) - Static method in class org.metastatic.rsync.DeltaDecoder
Returns a new instance of the specified decoder.
getInstance(String, Configuration, OutputStream) - Static method in class org.metastatic.rsync.DeltaEncoder
Returns a new instance of the specified encoder.
getInstance(String, Configuration, OutputStream) - Static method in class org.metastatic.rsync.ChecksumEncoder
Gets an instance of a checksum encoder for the specified encoding.
getKey() - Method in class org.metastatic.rsync.TwoKeyMap.SubTable
Get the key that maps to this entry.
getLength() - Method in class org.metastatic.rsync.ChecksumPair
Return the length of the data for which this checksum pair was generated.
getLogFile() - Method in class org.metastatic.rsync.v2.RsyncdConf
 
getLong(ByteBuffer) - Static method in class org.metastatic.rsync.v2.BufferUtil
Get a long integer from the byte buffer.
getLongind() - Method in class gnu.getopt.Getopt
Returns the index into the array of long options (NOT argv) representing the long option that was found.
getModules() - Method in class org.metastatic.rsync.v2.RsyncdConf
 
getMOTDFile() - Method in class org.metastatic.rsync.v2.RsyncdConf
 
getName() - Method in class gnu.getopt.LongOpt
Returns the name of this LongOpt as a String
getNewOffset() - Method in class org.metastatic.rsync.Offsets
Get the updated offset.
getNext() - Method in class org.metastatic.rsync.ListenerException
Returns the next exception in this chain, or null if there are no other exceptions.
getOffset() - Method in class org.metastatic.rsync.RebuilderEvent
Get the offset at which the data should be written.
getOffset() - Method in class org.metastatic.rsync.DataBlock
Get the offset at which this block should begin.
getOffset() - Method in class org.metastatic.rsync.ChecksumPair
Return the offset from where this checksum pair was generated.
getOldOffset() - Method in class org.metastatic.rsync.Offsets
Get the original offset.
Getopt - class gnu.getopt.Getopt.
This is a Java port of GNU getopt, a class for parsing command line arguments passed to programs.
getopt() - Method in class gnu.getopt.Getopt
This method returns a char that is the current option that has been parsed from the command line.
Getopt(String, String[], String) - Constructor for class gnu.getopt.Getopt
Construct a basic Getopt instance with the given input data.
Getopt(String, String[], String, LongOpt[]) - Constructor for class gnu.getopt.Getopt
Construct a Getopt instance with given input data that is capable of parsing long options as well as short.
Getopt(String, String[], String, LongOpt[], boolean) - Constructor for class gnu.getopt.Getopt
Construct a Getopt instance with given input data that is capable of parsing long options and short options.
getOptarg() - Method in class gnu.getopt.Getopt
For communication from `getopt' to the caller.
getOptind() - Method in class gnu.getopt.Getopt
optind it the index in ARGV of the next element to be scanned.
getOptopt() - Method in class gnu.getopt.Getopt
When getopt() encounters an invalid option, it stores the value of that option in optopt which can be retrieved with this method.
getOutputBuffer() - Method in class org.metastatic.rsync.v2.Protocol
Get the byte buffer for output going over the socket.
getPassword(String) - Method in class org.metastatic.rsync.v2.Secrets
 
getPIDFile() - Method in class org.metastatic.rsync.v2.RsyncdConf
 
getSequence() - Method in class org.metastatic.rsync.ChecksumPair
Return the sequence number of this checksum pair, if any.
getServerMessages() - Method in class org.metastatic.rsync.v2.SocketClient
Get the messages the server sends during connection.
getShortString(ByteBuffer) - Static method in class org.metastatic.rsync.v2.BufferUtil
Read a short string from the buffer.
getSSLServerSocket(int, InetAddress, String, Secrets) - Static method in class org.metastatic.rsync.v2.SSLUtil
 
getSSLServerSocket(int, String, Secrets) - Static method in class org.metastatic.rsync.v2.SSLUtil
 
getSSLServerSocketChannel(String, Secrets) - Static method in class org.metastatic.rsync.v2.SSLUtil
 
getSSLSocket(String, int) - Static method in class org.metastatic.rsync.v2.SSLUtil
 
getStatistics() - Method in class org.metastatic.rsync.v2.PlainDeltaDecoder
 
getStatistics() - Method in class org.metastatic.rsync.v2.Protocol
 
getStatistics() - Method in class org.metastatic.rsync.v2.FileList
 
getStatistics() - Method in class org.metastatic.rsync.v2.Receiver
Return the statistics for this session.
getStatistics() - Method in class org.metastatic.rsync.v2.Sender
 
getStats() - Method in class org.metastatic.rsync.v2.MultiplexedInputStream
 
getStats() - Method in class org.metastatic.rsync.v2.MultiplexedOutputStream
 
getString(ByteBuffer, int) - Static method in class org.metastatic.rsync.v2.BufferUtil
Read a string from the buffer.
getStrong() - Method in class org.metastatic.rsync.ChecksumPair
Get the strong checksum.
getVal() - Method in class gnu.getopt.LongOpt
Returns the value of the 'val' field for this long option
getValue() - Method in class org.metastatic.rsync.TwoKeyMap.SubTable
Get the value of this entry.
getValue() - Method in class org.metastatic.rsync.Checksum32
Return the value of the currently computed checksum.
getValue() - Method in interface org.metastatic.rsync.RollingChecksum
Returns the currently-computed 32-bit checksum.
getWeak() - Method in class org.metastatic.rsync.ChecksumPair
Get the weak checksum.
getWriteOffset() - Method in class org.metastatic.rsync.Offsets
 
getWriteOffset() - Method in interface org.metastatic.rsync.Delta
Get the offset at which this Delta should be written.
getWriteOffset() - Method in class org.metastatic.rsync.DataBlock
 
gid - Variable in class org.metastatic.rsync.v2.Module
 
gid - Variable in class org.metastatic.rsync.v2.FileInfo
 
gids - Variable in class org.metastatic.rsync.v2.Protocol
 
Glob - class org.metastatic.rsync.v2.Glob.
 
Glob(String, boolean, String) - Constructor for class org.metastatic.rsync.v2.Glob
 
gnu.getopt - package gnu.getopt
 

H

has_arg - Variable in class gnu.getopt.LongOpt
Indicates whether the option has no argument, a required argument, or an optional argument.
hashCode() - Method in class org.metastatic.rsync.TwoKeyMap
Return the hash code of this object.
hashCode() - Method in class org.metastatic.rsync.TwoKeyMap.SubTable
Return the hash code for this entry.
hashCode() - Method in class org.metastatic.rsync.TwoKeyMap.StrongKey
The hash code for this key.
hashCode() - Method in class org.metastatic.rsync.Offsets
Returns the hash code of this object, defined as: Offsets.oldOffset + Offsets.newOffset + Offsets.blockLength % 2^32
hashCode() - Method in class org.metastatic.rsync.DataBlock
Return the hash code for this data block.
hashCode() - Method in class org.metastatic.rsync.ChecksumPair
 
hashSearch(byte[], int, int) - Method in class org.metastatic.rsync.MatcherStream
Search if a portion of the given byte array is in the map, returning its original offset if it is.
hashSearch(List, byte[]) - Method in class org.metastatic.rsync.Matcher
Search the given byte buffer.
hashSearch(List, byte[], int, int) - Method in class org.metastatic.rsync.Matcher
Search a portion of a byte buffer.
hashSearch(List, File) - Method in class org.metastatic.rsync.Matcher
Search a file.
hashSearch(List, InputStream) - Method in class org.metastatic.rsync.Matcher
Search an input stream.
hashSearch(List, String) - Method in class org.metastatic.rsync.Matcher
Search a file by name.
hashtable - Variable in class org.metastatic.rsync.MatcherStream
The current hashtable.
help(String, PrintStream) - Static method in class org.metastatic.rsync.v2.Options
 
hostAllowed(InetAddress) - Method in class org.metastatic.rsync.v2.Module
Test if a given host is allowed to connect to this module.
hostsAllow - Variable in class org.metastatic.rsync.v2.Module
 
hostsDeny - Variable in class org.metastatic.rsync.v2.Module
 

I

ignore_errors - Variable in class org.metastatic.rsync.v2.Options
 
ignore_times - Variable in class org.metastatic.rsync.v2.Options
 
ignoreErrors - Variable in class org.metastatic.rsync.v2.Module
 
ignoreNonReadable - Variable in class org.metastatic.rsync.v2.Module
 
in - Variable in class org.metastatic.rsync.ChecksumDecoder
The input stream being read from.
in - Variable in class org.metastatic.rsync.DeltaDecoder
The underlying input stream.
in - Variable in class org.metastatic.rsync.v2.MultiplexedInputStream
The underlying input stream.
in - Variable in class org.metastatic.rsync.v2.SocketClient
Our input stream from the server.
inBuffer - Variable in class org.metastatic.rsync.v2.Protocol
 
include - Variable in class org.metastatic.rsync.v2.Module
 
include - Variable in class org.metastatic.rsync.v2.Options
 
include_from - Variable in class org.metastatic.rsync.v2.Options
 
includeFrom - Variable in class org.metastatic.rsync.v2.Module
 
initCause(Throwable) - Method in class org.metastatic.rsync.ListenerException
Sets the cause of this exception.
inode - Variable in class org.metastatic.rsync.v2.FileInfo
 
INPUT_MASK - Static variable in interface org.metastatic.rsync.v2.Constants
 
inState - Variable in class org.metastatic.rsync.v2.Protocol
 
io_timeout - Variable in class org.metastatic.rsync.v2.Options
 
isEmpty() - Method in class org.metastatic.rsync.TwoKeyMap
Test if there are no mappings in this map.

J

JarsyncProvider - class org.metastatic.rsync.JarsyncProvider.
This provider implements the MD4 message digest, and is provided to ensure that MD4 is available.
JarsyncProvider() - Constructor for class org.metastatic.rsync.JarsyncProvider
 

K

k - Variable in class org.metastatic.rsync.Checksum32
The place from whence the current checksum has been computed.
keep_partial - Variable in class org.metastatic.rsync.v2.Options
 
key - Variable in class org.metastatic.rsync.TwoKeyMap.SubTable
The index in the array of sub-tables in which this entry is a member.
key - Variable in class org.metastatic.rsync.TwoKeyMap.StrongKey
The key itself.
keySet() - Method in class org.metastatic.rsync.TwoKeyMap
Return an unmodifiable set of all the pairs of keys in this mapping.
keystore - Variable in class org.metastatic.rsync.v2.Options
 
KEYSTORE - Static variable in class org.metastatic.rsync.v2.Daemon
 

L

l - Variable in class org.metastatic.rsync.Checksum32
The place to where the current checksum has been computed.
last_nonopt - Variable in class gnu.getopt.Getopt
The index of the last non-option in argv[]
length - Variable in class org.metastatic.rsync.v2.FileInfo
 
length() - Method in class org.metastatic.rsync.TwoKeyMap.StrongKey
The length, in bytes, of this key.
line - Variable in class org.metastatic.rsync.v2.Server
 
link - Variable in class org.metastatic.rsync.v2.FileInfo
 
list - Variable in class org.metastatic.rsync.v2.Module
 
list_only - Variable in class org.metastatic.rsync.v2.Options
 
ListenerException - exception org.metastatic.rsync.ListenerException.
Signals an exception raised by an @{link GeneratorListener}, @{link MatcherListener}, or @{link RebuilderListener}.
ListenerException() - Constructor for class org.metastatic.rsync.ListenerException
 
ListenerException(String) - Constructor for class org.metastatic.rsync.ListenerException
 
ListenerException(Throwable) - Constructor for class org.metastatic.rsync.ListenerException
 
ListenerException(Throwable, String) - Constructor for class org.metastatic.rsync.ListenerException
 
listeners - Variable in class org.metastatic.rsync.MatcherStream
The list of MatcherListeners.
listeners - Variable in class org.metastatic.rsync.RebuilderStream
The list of RebuilderListeners.
listeners - Variable in class org.metastatic.rsync.GeneratorStream
The list of GeneratorListeners.
literal_data - Variable in class org.metastatic.rsync.v2.Statistics
 
local_server - Variable in class org.metastatic.rsync.v2.Options
 
localClient(String[], int) - Static method in class org.metastatic.rsync.v2.Client
 
log_format - Variable in class org.metastatic.rsync.v2.Options
 
logFile - Variable in class org.metastatic.rsync.v2.Daemon
 
logFormat - Variable in class org.metastatic.rsync.v2.Module
 
logger - Variable in class org.metastatic.rsync.v2.Daemon
 
LoggerPrintStream - class org.metastatic.rsync.v2.LoggerPrintStream.
 
LoggerPrintStream(Logger, Level) - Constructor for class org.metastatic.rsync.v2.LoggerPrintStream
 
LONG_NAME - Static variable in interface org.metastatic.rsync.v2.Constants
 
long_only - Variable in class gnu.getopt.Getopt
This flag determines whether or not we are parsing only long args
long_options - Variable in class gnu.getopt.Getopt
This is an array of LongOpt objects which describ the valid long options.
longind - Variable in class gnu.getopt.Getopt
Stores the index into the long_options array of the long option found
LongOpt - class gnu.getopt.LongOpt.
This object represents the definition of a long option in the Java port of GNU getopt.
longopt_handled - Variable in class gnu.getopt.Getopt
A flag which communicates whether or not checkLongOption() did all necessary processing for the current option
LongOpt(String, int, StringBuffer, int) - Constructor for class gnu.getopt.LongOpt
Create a new LongOpt object with the given parameter values.
LONGOPTS - Static variable in class org.metastatic.rsync.Rdiff
The long options.
LONGOPTS - Static variable in class org.metastatic.rsync.v2.Options
 
LONGOPTS - Static variable in class org.metastatic.rsync.v2.Daemon
 

M

main(String[]) - Static method in class org.metastatic.rsync.Rdiff
Main entry point for console use.
main(String[]) - Static method in class org.metastatic.rsync.v2.Client
 
main(String[]) - Static method in class org.metastatic.rsync.v2.Daemon
 
main(String[]) - Static method in class org.metastatic.rsync.v2.ConsoleClient
 
make_backups - Variable in class org.metastatic.rsync.v2.Options
 
makeDeltas(List, InputStream) - Method in class org.metastatic.rsync.Rdiff
Make a collection of Deltas from the given sums and InputStream.
makeDeltas(List, InputStream, OutputStream) - Method in class org.metastatic.rsync.Rdiff
 
makeSignatures(InputStream) - Method in class org.metastatic.rsync.Rdiff
Make the signatures from data coming in through the input stream.
makeSignatures(InputStream, OutputStream) - Method in class org.metastatic.rsync.Rdiff
Generate and write the signatures.
MAP_LIMIT - Static variable in class org.metastatic.rsync.MappedRebuilderStream
The default lower bound for files to map.
mapLimit - Variable in class org.metastatic.rsync.MappedRebuilderStream
The lower bound file length to map; files smaller than this will not be mapped.
mapOffset - Variable in class org.metastatic.rsync.MappedRebuilderStream
The current offset in the file where the region is mapped.
mappedFile - Variable in class org.metastatic.rsync.MappedRebuilderStream
The mapped file, if any.
MappedRebuilderStream - class org.metastatic.rsync.MappedRebuilderStream.
A version of RebuilderStream that maps large files to memory using the NIO API.
MappedRebuilderStream() - Constructor for class org.metastatic.rsync.MappedRebuilderStream
Create a new memory mapped rebuilder, with the default map limit and a maximum map size of Integer.MAX_VALUE.
MappedRebuilderStream(long) - Constructor for class org.metastatic.rsync.MappedRebuilderStream
Create a new memory mapped rebuilder with the given map limit and a maximum map size of Integer.MAX_VALUE.
MappedRebuilderStream(long, long) - Constructor for class org.metastatic.rsync.MappedRebuilderStream
Create a new memory mapped rebuilder with the given map limit and maximum map size.
mapSize - Variable in class org.metastatic.rsync.MappedRebuilderStream
The size of the map.
matched_data - Variable in class org.metastatic.rsync.v2.Statistics
 
matcher - Variable in class org.metastatic.rsync.Matcher
The underlying matcher stream.
Matcher - class org.metastatic.rsync.Matcher.
Methods for performing the checksum search.
Matcher(Configuration) - Constructor for class org.metastatic.rsync.Matcher
Create a matcher with the specified configuration.
MatcherEvent - class org.metastatic.rsync.MatcherEvent.
 
MatcherEvent(Delta) - Constructor for class org.metastatic.rsync.MatcherEvent
 
MatcherListener - interface org.metastatic.rsync.MatcherListener.
Standard interface for the hashtable matcher callback, called by MatcherStream when new deltas are ready.
MatcherStream - class org.metastatic.rsync.MatcherStream.
A streaming version of Matcher.
MatcherStream(Configuration) - Constructor for class org.metastatic.rsync.MatcherStream
Create a new MatcherStream.
max_delete - Variable in class org.metastatic.rsync.v2.Options
 
MAX_PROTOCOL_VERSION - Static variable in interface org.metastatic.rsync.v2.Constants
 
maxConnections - Variable in class org.metastatic.rsync.v2.Module
 
MAXPATHLEN - Static variable in interface org.metastatic.rsync.v2.Constants
 
MD4 - class org.metastatic.rsync.MD4.
An implementation of Ron Rivest's MD4 message digest algorithm.
MD4() - Constructor for class org.metastatic.rsync.MD4
Trivial zero-argument constructor.
MIN_PROTOCOL_VERSION - Static variable in interface org.metastatic.rsync.v2.Constants
 
MIN_PROTOCOL_VERSION - Static variable in class org.metastatic.rsync.v2.SocketClient
The minimum protocol version we support.
mode - Variable in class org.metastatic.rsync.v2.FileInfo
 
modify_window - Variable in class org.metastatic.rsync.v2.Options
 
modtime - Variable in class org.metastatic.rsync.v2.FileInfo
 
module - Variable in class org.metastatic.rsync.v2.Protocol
 
Module - class org.metastatic.rsync.v2.Module.
 
Module(String) - Constructor for class org.metastatic.rsync.v2.Module
 
modules - Variable in class org.metastatic.rsync.v2.Protocol
The module list.
modules - Variable in class org.metastatic.rsync.v2.Daemon
 
modules - Variable in class org.metastatic.rsync.v2.SocketClient
The modules available on the server.
motd - Variable in class org.metastatic.rsync.v2.Protocol
The message-of-the-day.
motdFile - Variable in class org.metastatic.rsync.v2.Daemon
 
MPLEX_BASE - Static variable in interface org.metastatic.rsync.v2.MultiplexedIO
 
multiplex - Variable in class org.metastatic.rsync.v2.MultiplexedInputStream
Whether or not to actually multiplex.
MultiplexedInputStream - class org.metastatic.rsync.v2.MultiplexedInputStream.
Handle multiplexed I/O for the rsync protocol.
MultiplexedInputStream(InputStream, boolean) - Constructor for class org.metastatic.rsync.v2.MultiplexedInputStream
 
MultiplexedIO - interface org.metastatic.rsync.v2.MultiplexedIO.
 
MultiplexedOutputStream - class org.metastatic.rsync.v2.MultiplexedOutputStream.
Multiplexed output for servers.
MultiplexedOutputStream(OutputStream, boolean) - Constructor for class org.metastatic.rsync.v2.MultiplexedOutputStream
 

N

name - Variable in class org.metastatic.rsync.v2.Module
 
name - Variable in class gnu.getopt.LongOpt
The name of the long option
ndx - Variable in class org.metastatic.rsync.MatcherStream
The current index in MatcherStream.buffer.
ndx - Variable in class org.metastatic.rsync.GeneratorStream
The current index in GeneratorStream.buffer.
new_block - Variable in class org.metastatic.rsync.Checksum32
The block that is recieving new input.
new_index - Variable in class org.metastatic.rsync.Checksum32
The index in Checksum32.new_block where the newest byte has been stored.
newOffset - Variable in class org.metastatic.rsync.Offsets
The new offset.
next - Variable in class org.metastatic.rsync.ListenerException
 
nextchar - Variable in class gnu.getopt.Getopt
The next char to be scanned in the option-element in which the last option character we returned was found.
NO_ARGUMENT - Static variable in class gnu.getopt.LongOpt
Constant value used for the "has_arg" constructor argument.
no_whole_file - Variable in class org.metastatic.rsync.v2.Options
 
NonblockingDaemon - class org.metastatic.rsync.v2.NonblockingDaemon.
 
num_files - Variable in class org.metastatic.rsync.v2.Statistics
 
num_transferred_files - Variable in class org.metastatic.rsync.v2.Statistics
 
numeric_ids - Variable in class org.metastatic.rsync.v2.Options
 

O

offset - Variable in class org.metastatic.rsync.RebuilderEvent
The destination offset.
offset - Variable in class org.metastatic.rsync.DataBlock
The offset in the file to start this block.
Offsets - class org.metastatic.rsync.Offsets.
This class represents an update to a file or array of bytes wherein the bytes themselves have not changed, but have moved to another location.
Offsets(long, long, int) - Constructor for class org.metastatic.rsync.Offsets
Create a new pair of offsets.
oldOffset - Variable in class org.metastatic.rsync.Offsets
The original offset.
one_file_system - Variable in class org.metastatic.rsync.v2.Options
 
only_existing - Variable in class org.metastatic.rsync.v2.Options
 
OP_COPY_N4_N4 - Static variable in class org.metastatic.rsync.Rdiff
 
OP_END - Static variable in class org.metastatic.rsync.Rdiff
 
OP_LITERAL_N1 - Static variable in class org.metastatic.rsync.Rdiff
 
OP_LITERAL_N2 - Static variable in class org.metastatic.rsync.Rdiff
 
OP_LITERAL_N4 - Static variable in class org.metastatic.rsync.Rdiff
 
OP_LITERAL_N8 - Static variable in class org.metastatic.rsync.Rdiff
 
OPT_ADDRESS - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_BACKUP_DIR - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_BLOCKING_IO - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_BWLIMIT - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_COMPARE_DEST - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_CONFIG - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_COPY_UNSAFE_LINKS - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_DAEMON - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_DELETE - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_DELETE_AFTER - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_DELETE_EXCLUDED - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_EXCLUDE - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_EXCLUDE_FROM - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_EXISTING - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_FORCE - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_IGNORE_ERRORS - Static variable in class org.metastatic.rsync.v2.Options
 
opt_ignore_existing - Variable in class org.metastatic.rsync.v2.Options
 
OPT_IGNORE_EXISTING - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_INCLUDE - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_INCLUDE_FROM - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_KEYSTORE - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_LOG_FORMAT - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_MAX_DELETE - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_MODIFY_WINDOW - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_NO_BLOCKING_IO - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_NO_WHOLE_FILE - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_NUMERIC_IDS - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_PARTIAL - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_PASSWORD_FILE - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_PORT - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_PROGRESS - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_READ_BATCH - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_RSYNC_PATH - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_SAFE_LINKS - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_SENDER - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_SERVER - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_SIZE_ONLY - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_STATS - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_SUFFIX - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_TIMEOUT - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_USE_SSL - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_VERSION - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_WHOLE_FILE - Static variable in class org.metastatic.rsync.v2.Options
 
OPT_WRITE_BATCH - Static variable in class org.metastatic.rsync.v2.Options
 
optarg - Variable in class gnu.getopt.Getopt
For communication from `getopt' to the caller.
opterr - Variable in class gnu.getopt.Getopt
Callers store false here to inhibit the error message for unrecognized options.
optind - Variable in class gnu.getopt.Getopt
Index in ARGV of the next element to be scanned.
OPTIONAL_ARGUMENT - Static variable in class gnu.getopt.LongOpt
Constant value used for the "has_arg" constructor argument.
options - Variable in class org.metastatic.rsync.v2.Protocol
 
Options - class org.metastatic.rsync.v2.Options.
 
Options() - Constructor for class org.metastatic.rsync.v2.Options
 
optopt - Variable in class gnu.getopt.Getopt
When an unrecognized option is encountered, getopt will return a '?'
optstring - Variable in class gnu.getopt.Getopt
This is the string describing the valid short options.
OPTSTRING - Static variable in class org.metastatic.rsync.Rdiff
The short options.
OPTSTRING - Static variable in class org.metastatic.rsync.v2.Options
 
OPTSTRING - Static variable in class org.metastatic.rsync.v2.Daemon
 
ordering - Variable in class gnu.getopt.Getopt
Determines whether we permute arguments or not
org.metastatic.rsync - package org.metastatic.rsync
This is the main package of Jarsync, an implementation of the rsync algorithm in Java.
org.metastatic.rsync.v2 - package org.metastatic.rsync.v2
An (in development) implementation of an application compatible with rsync-2.*.
orig_umask - Variable in class org.metastatic.rsync.v2.Options
 
out - Variable in class org.metastatic.rsync.DeltaEncoder
The output stream.
out - Variable in class org.metastatic.rsync.ChecksumEncoder
The output stream being written to.
out - Variable in class org.metastatic.rsync.v2.SocketClient
Our output stream to the server.
outBuffer - Variable in class org.metastatic.rsync.v2.Protocol
 
OUTPUT_MASK - Static variable in interface org.metastatic.rsync.v2.Constants
 
outputBuffer - Variable in class org.metastatic.rsync.v2.DuplexByteBuffer
 
outState - Variable in class org.metastatic.rsync.v2.Protocol
 

P

padBuffer() - Method in class org.metastatic.rsync.BrokenMD4
Pad the buffer by appending the byte 0x80, then as many zero bytes to fill the buffer 8 bytes shy of being a multiple of 64 bytes, then append the length of the buffer, in bits, before padding.
padBuffer() - Method in class org.metastatic.rsync.MD4
Pad the buffer by appending the byte 0x80, then as many zero bytes to fill the buffer 8 bytes shy of being a multiple of 64 bytes, then append the length of the buffer, in bits, before padding.
ParameterException - exception org.metastatic.rsync.ParameterException.
Signals that a parameter file being parsed is incorrect.
ParameterException() - Constructor for class org.metastatic.rsync.ParameterException
 
ParameterException(String) - Constructor for class org.metastatic.rsync.ParameterException
 
ParameterListener - interface org.metastatic.rsync.ParameterListener.
A listener for parsing Samba-style config files.
Parameters - class org.metastatic.rsync.Parameters.
Simple parser for Samba-style config files.
Parameters(ParameterListener) - Constructor for class org.metastatic.rsync.Parameters
Create a new parameter file parser.
parse() - Method in class org.metastatic.rsync.Parameters
Parse, or continue parsing the file if a parsing error occured in a previous call to this method.
parseArguments(String, String[], PrintStream) - Method in class org.metastatic.rsync.v2.Options
 
password_file - Variable in class org.metastatic.rsync.v2.Options
 
PATCH - Static variable in class org.metastatic.rsync.Rdiff
The `patch' command.
path - Variable in class org.metastatic.rsync.v2.Module
 
permstring() - Method in class org.metastatic.rsync.v2.FileInfo
 
PERMUTE - Static variable in class gnu.getopt.Getopt
PERMUTE is the default.
pidFile - Variable in class org.metastatic.rsync.v2.Daemon
 
PlainDeltaDecoder - class org.metastatic.rsync.v2.PlainDeltaDecoder.
 
PlainDeltaDecoder(Configuration, InputStream) - Constructor for class org.metastatic.rsync.v2.PlainDeltaDecoder
 
PlainDeltaEncoder - class org.metastatic.rsync.v2.PlainDeltaEncoder.
 
PlainDeltaEncoder(Configuration, OutputStream) - Constructor for class org.metastatic.rsync.v2.PlainDeltaEncoder
 
port - Variable in class org.metastatic.rsync.v2.Daemon
 
posixly_correct - Variable in class gnu.getopt.Getopt
The flag determines whether or not we operate in strict POSIX compliance
preserve_devices - Variable in class org.metastatic.rsync.v2.Options
 
preserve_gid - Variable in class org.metastatic.rsync.v2.Options
 
preserve_hard_links - Variable in class org.metastatic.rsync.v2.Options
 
preserve_links - Variable in class org.metastatic.rsync.v2.Options
 
preserve_perms - Variable in class org.metastatic.rsync.v2.Options
 
preserve_times - Variable in class org.metastatic.rsync.v2.Options
 
preserve_uid - Variable in class org.metastatic.rsync.v2.Options
 
print(boolean) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
print(char) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
print(char[]) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
print(double) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
print(float) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
print(int) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
print(long) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
print(Object) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
print(String) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
println() - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
println(boolean) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
println(char) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
println(char[]) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
println(double) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
println(float) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
println(int) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
println(long) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
println(Object) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
println(String) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
progname - Variable in class gnu.getopt.Getopt
Name to print as the program name in error messages.
PROGNAME - Static variable in class org.metastatic.rsync.Rdiff
The program name printed to the console.
PROGNAME - Static variable in class org.metastatic.rsync.v2.Client
 
PROGNAME - Static variable in class org.metastatic.rsync.v2.Daemon
 
PROPERTY - Static variable in class org.metastatic.rsync.ChecksumDecoder
Property prefix for checksum encoders.
PROPERTY - Static variable in class org.metastatic.rsync.DeltaDecoder
 
PROPERTY - Static variable in class org.metastatic.rsync.DeltaEncoder
 
PROPERTY - Static variable in class org.metastatic.rsync.ChecksumEncoder
Property prefix for checksum encoders.
Protocol - class org.metastatic.rsync.v2.Protocol.
 
PROTOCOL_VERSION - Static variable in interface org.metastatic.rsync.v2.Constants
 
PROTOCOL_VERSION - Static variable in class org.metastatic.rsync.v2.SocketClient
The protocol version we conform to.
Protocol(String, Map, InetAddress) - Constructor for class org.metastatic.rsync.v2.Protocol
 
ProtocolException - exception org.metastatic.rsync.v2.ProtocolException.
Signals an error in the rsync protocol.
ProtocolException() - Constructor for class org.metastatic.rsync.v2.ProtocolException
 
ProtocolException(String) - Constructor for class org.metastatic.rsync.v2.ProtocolException
 
put(byte) - Method in class org.metastatic.rsync.v2.DuplexByteBuffer
 
put(byte[]) - Method in class org.metastatic.rsync.v2.DuplexByteBuffer
 
put(byte[], int, int) - Method in class org.metastatic.rsync.v2.DuplexByteBuffer
 
put(Object, Object) - Method in class org.metastatic.rsync.TwoKeyMap
Put the given object at the location specified by a key pair.
put(TwoKeyMap.StrongKey, Object) - Method in class org.metastatic.rsync.TwoKeyMap.SubTable
Map the given key to the given value.
putAll(Map) - Method in class org.metastatic.rsync.TwoKeyMap
Put every entry in m in this map.
putInt(int) - Method in class org.metastatic.rsync.v2.DuplexByteBuffer
 
putLogcode(int, int) - Method in class org.metastatic.rsync.v2.DuplexByteBuffer
 
putLong(long) - Method in class org.metastatic.rsync.v2.DuplexByteBuffer
 
putShortString(String) - Method in class org.metastatic.rsync.v2.DuplexByteBuffer
 
putString(int, String) - Method in class org.metastatic.rsync.v2.DuplexByteBuffer
 
putString(String) - Method in class org.metastatic.rsync.v2.DuplexByteBuffer
 

Q

quiet - Variable in class org.metastatic.rsync.v2.Options
 

R

rdev - Variable in class org.metastatic.rsync.v2.FileInfo
 
Rdiff - class org.metastatic.rsync.Rdiff.
A re-implementation of the rdiff utility from librsync.
RDIFF_BLOCK_LENGTH - Static variable in class org.metastatic.rsync.Rdiff
Rdiff/rproxy default block length.
RDIFF_STRONG_LENGTH - Static variable in class org.metastatic.rsync.Rdiff
Rdiff/rproxy default sum length.
Rdiff() - Constructor for class org.metastatic.rsync.Rdiff
Create an Rdiff object.
read_only - Variable in class org.metastatic.rsync.v2.Options
 
read() - Method in class org.metastatic.rsync.ChecksumDecoder
Decodes a checksum pair from the input stream.
read() - Method in class org.metastatic.rsync.DeltaDecoder
Read (decode) a single delta from the input stream.
read() - Method in class org.metastatic.rsync.v2.PlainDeltaDecoder
 
read() - Method in class org.metastatic.rsync.v2.ChecksumDecoder
 
read() - Method in class org.metastatic.rsync.v2.MultiplexedInputStream
 
read(byte[]) - Method in class org.metastatic.rsync.v2.MultiplexedInputStream
Attempt to read as many bytes as will fit into the buffer, blocking until it has been filled.
read(byte[], int, int) - Method in class org.metastatic.rsync.v2.MultiplexedInputStream
Attempt to fully read len bytes, blocking until all data is read.
read(List) - Method in class org.metastatic.rsync.ChecksumDecoder
Decodes checksums from the stream, storing them into the specified list, until the end of checksums is encountered.
read(List) - Method in class org.metastatic.rsync.DeltaDecoder
Read (decode) a list of deltas from the input stream.
read(List) - Method in class org.metastatic.rsync.v2.ChecksumDecoder
 
readDeltas(InputStream) - Method in class org.metastatic.rsync.Rdiff
Read a collection of Deltas from the InputStream.
readInt() - Method in class org.metastatic.rsync.v2.MultiplexedInputStream
Read a little-endian ordered 32-bit integer.
readLine(InputStream) - Static method in class org.metastatic.rsync.Util
Read up to a '\n' or '\r', and return the resulting string.
readLong() - Method in class org.metastatic.rsync.v2.MultiplexedInputStream
Read a little-endian ordered 64-bit long integer.
readOnly - Variable in class org.metastatic.rsync.v2.Module
 
readSignatures(InputStream) - Method in class org.metastatic.rsync.Rdiff
Read the signatures from the input stream.
readStats() - Static method in class org.metastatic.rsync.v2.Client
 
readString(int) - Method in class org.metastatic.rsync.v2.MultiplexedInputStream
Read len bytes, returning them as a String interpreted as US-ASCII.
readUnbuffered(byte[], int, int) - Method in class org.metastatic.rsync.v2.MultiplexedInputStream
Do an unbuffered read from the multiplexed input stream, putting normal data into the byte buffer and sending error stream data to #err.
rebuild(byte[], List) - Static method in class org.metastatic.rsync.Rebuilder
Reconstruct data into a new byte array.
rebuild(OutputStream, byte[], List) - Static method in class org.metastatic.rsync.Rebuilder
Reconstruct data into an output stream.
rebuild(OutputStream, File, List) - Static method in class org.metastatic.rsync.Rebuilder
Reconstruct a file into an output stream.
Rebuilder - class org.metastatic.rsync.Rebuilder.
Methods for file reconstruction from deltas.
Rebuilder() - Constructor for class org.metastatic.rsync.Rebuilder
 
RebuilderEvent - class org.metastatic.rsync.RebuilderEvent.
a rebuilder event.
RebuilderEvent(byte[], int, int, long) - Constructor for class org.metastatic.rsync.RebuilderEvent
 
RebuilderEvent(byte[], long) - Constructor for class org.metastatic.rsync.RebuilderEvent
Create a new rebuilder event.
RebuilderListener - interface org.metastatic.rsync.RebuilderListener.
A listener for RebuilderEvents.
RebuilderStream - class org.metastatic.rsync.RebuilderStream.
A "streaming" alternative to Rebuilder.
RebuilderStream() - Constructor for class org.metastatic.rsync.RebuilderStream
Create a new rebuilder.
rebuildFile(File, File, List) - Static method in class org.metastatic.rsync.Rebuilder
Reconstruct a file into newFile.
rebuildFile(File, InputStream, OutputStream) - Method in class org.metastatic.rsync.Rdiff
 
rebuildFile(File, List) - Static method in class org.metastatic.rsync.Rebuilder
Reconstruct a file into a new file created with File.createTempFile(java.lang.String,java.lang.String,java.io.File).
rebuildFile(File, List, OutputStream) - Method in class org.metastatic.rsync.Rdiff
Patch the file basis using deltas, writing the patched file to out.
rebuildFileInPlace(File, List) - Static method in class org.metastatic.rsync.Rebuilder
Reconstruct a file in-place.
receiveFileList() - Method in class org.metastatic.rsync.v2.FileList
 
receiveFiles(List) - Method in class org.metastatic.rsync.v2.Receiver
Recieve the deltas from the other side, and rebuild the target files.
Receiver - class org.metastatic.rsync.v2.Receiver.
The receiver process.
Receiver(MultiplexedInputStream, MultiplexedOutputStream, Configuration, int, boolean) - Constructor for class org.metastatic.rsync.v2.Receiver
Create a new receiver object.
recurse - Variable in class org.metastatic.rsync.v2.Options
 
RECV_RECEIVE_DELTAS - Static variable in interface org.metastatic.rsync.v2.Constants
 
RECV_RECEIVE_INDEX - Static variable in interface org.metastatic.rsync.v2.Constants
 
RECV_SEND_INDEX - Static variable in interface org.metastatic.rsync.v2.Constants
 
RECV_SEND_SUMS - Static variable in interface org.metastatic.rsync.v2.Constants
 
RECV_WAIT - Static variable in interface org.metastatic.rsync.v2.Constants
 
refuseOptions - Variable in class org.metastatic.rsync.v2.Module
 
relative_paths - Variable in class org.metastatic.rsync.v2.Options
 
remaining - Variable in class org.metastatic.rsync.v2.MultiplexedInputStream
Used in readUnbuffered.
remoteVersion - Variable in class org.metastatic.rsync.v2.Protocol
 
remoteVersion - Variable in class org.metastatic.rsync.v2.SocketClient
The server's protocol version.
remove(Object) - Method in class org.metastatic.rsync.TwoKeyMap
Removes a single mapping if the argument is a ChecksumPair, or an entire TwoKeyMap.SubTable if the argument is a Integer.
removeListener(GeneratorListener) - Method in class org.metastatic.rsync.GeneratorStream
Remove a GeneratorListener from the list of listeners.
removeListener(MatcherListener) - Method in class org.metastatic.rsync.MatcherStream
Remove a MatcherListener from the list of listeners.
removeListener(RebuilderListener) - Method in class org.metastatic.rsync.RebuilderStream
Remove a listener from this rebuilder.
request - Variable in class org.metastatic.rsync.v2.Protocol
 
REQUIRE_ORDER - Static variable in class gnu.getopt.Getopt
Describe how to deal with options that follow non-option ARGV-elements.
REQUIRED_ARGUMENT - Static variable in class gnu.getopt.LongOpt
Constant value used for the "has_arg" constructor argument.
requiresOrder() - Method in class org.metastatic.rsync.DeltaEncoder
Returns whether or not this encoder requires the deltas it is presented to be in write offset order, that is, the deltas passed to the write methods must be presented in increasing order of their Delta.getWriteOffset() values.
requiresOrder() - Method in class org.metastatic.rsync.ChecksumEncoder
This method returns true if the checksums must be presented in order of ascending offset.
requiresOrder() - Method in class org.metastatic.rsync.v2.PlainDeltaEncoder
 
requiresOrder() - Method in class org.metastatic.rsync.v2.ChecksumEncoder
 
reset() - Method in class org.metastatic.rsync.MatcherStream
Reset this matcher, to be used for another data set.
reset() - Method in class org.metastatic.rsync.GeneratorStream
Reset this generator, to be used for another data set.
reset() - Method in class org.metastatic.rsync.Checksum32
Reset the checksum.
reset() - Method in interface org.metastatic.rsync.RollingChecksum
Resets the internal state of the checksum, so it may be re-used later.
RETURN_IN_ORDER - Static variable in class gnu.getopt.Getopt
RETURN_IN_ORDER is an option available to programs that were written to expect options and other ARGV-elements in any order and that care about the ordering of the two.
roll(byte) - Method in class org.metastatic.rsync.Checksum32
"Roll" the checksum.
roll(byte) - Method in interface org.metastatic.rsync.RollingChecksum
Update the checksum with a single byte.
RollingChecksum - interface org.metastatic.rsync.RollingChecksum.
A general interface for 32-bit checksums that have the "rolling" property.
rsync_path - Variable in class org.metastatic.rsync.v2.Options
 
RSYNCD_AUTHREQD - Static variable in interface org.metastatic.rsync.v2.Constants
Authentication required.
RSYNCD_EXIT - Static variable in interface org.metastatic.rsync.v2.Constants
Exit message.
RSYNCD_GREETING - Static variable in interface org.metastatic.rsync.v2.Constants
The greeting.
RSYNCD_OK - Static variable in interface org.metastatic.rsync.v2.Constants
OK.
RSYNCD_PORT - Static variable in interface org.metastatic.rsync.v2.Constants
The default port for rsyncd connections.
RsyncdConf - class org.metastatic.rsync.v2.RsyncdConf.
 
RsyncdConf() - Constructor for class org.metastatic.rsync.v2.RsyncdConf
 
run() - Method in class org.metastatic.rsync.v2.NonblockingDaemon
 
run() - Method in class org.metastatic.rsync.v2.Daemon
 

S

S_ISDIR() - Method in class org.metastatic.rsync.v2.FileInfo
 
S_ISDIR(int) - Static method in class org.metastatic.rsync.v2.FileInfo
 
S_ISLNK() - Method in class org.metastatic.rsync.v2.FileInfo
 
S_ISLNK(int) - Static method in class org.metastatic.rsync.v2.FileInfo
 
S_ISREG() - Method in class org.metastatic.rsync.v2.FileInfo
 
S_ISREG(int) - Static method in class org.metastatic.rsync.v2.FileInfo
 
safe_symlinks - Variable in class org.metastatic.rsync.v2.Options
 
SAME_DIR - Static variable in interface org.metastatic.rsync.v2.Constants
 
SAME_GID - Static variable in interface org.metastatic.rsync.v2.Constants
 
SAME_MODE - Static variable in interface org.metastatic.rsync.v2.Constants
 
SAME_NAME - Static variable in interface org.metastatic.rsync.v2.Constants
 
SAME_RDEV - Static variable in interface org.metastatic.rsync.v2.Constants
 
SAME_TIME - Static variable in interface org.metastatic.rsync.v2.Constants
 
SAME_UID - Static variable in interface org.metastatic.rsync.v2.Constants
 
Secrets - class org.metastatic.rsync.v2.Secrets.
 
SECRETS - Static variable in class org.metastatic.rsync.v2.Daemon
 
Secrets(String) - Constructor for class org.metastatic.rsync.v2.Secrets
 
secretsFile - Variable in class org.metastatic.rsync.v2.Module
 
Sender - class org.metastatic.rsync.v2.Sender.
 
SENDER_DONE - Static variable in interface org.metastatic.rsync.v2.Constants
 
SENDER_RECEIVE_INDEX - Static variable in interface org.metastatic.rsync.v2.Constants
 
SENDER_RECEIVE_SUMS - Static variable in interface org.metastatic.rsync.v2.Constants
 
SENDER_SEND_DELTAS - Static variable in interface org.metastatic.rsync.v2.Constants
 
SENDER_SEND_FILE - Static variable in interface org.metastatic.rsync.v2.Constants
 
SENDER_WAIT - Static variable in interface org.metastatic.rsync.v2.Constants
 
Sender(MultiplexedInputStream, MultiplexedOutputStream, Configuration, int, boolean) - Constructor for class org.metastatic.rsync.v2.Sender
Create a new Sender object.
sendFileList(List) - Method in class org.metastatic.rsync.v2.FileList
 
sendFiles(List) - Method in class org.metastatic.rsync.v2.Sender
Send the set of files.
Server - class org.metastatic.rsync.v2.Server.
 
Server() - Constructor for class org.metastatic.rsync.v2.Server
 
serverArgs(String[]) - Method in class org.metastatic.rsync.v2.SocketClient
Send the "server args".
serverMessages - Variable in class org.metastatic.rsync.v2.SocketClient
The raw list of server messages, possibly the MOTD and the module list.
serverMOTD - Variable in class org.metastatic.rsync.v2.SocketClient
The server's message-of-the-day.
setArgv(String[]) - Method in class gnu.getopt.Getopt
Since in GNU getopt() the argument vector is passed back in to the function every time, the caller can swap out argv on the fly.
setBasisFile(File) - Method in class org.metastatic.rsync.MappedRebuilderStream
 
setBasisFile(File) - Method in class org.metastatic.rsync.RebuilderStream
Set the basis file.
setBasisFile(String) - Method in class org.metastatic.rsync.MappedRebuilderStream
 
setBasisFile(String) - Method in class org.metastatic.rsync.RebuilderStream
Set the basis file.
setBlockLength(int) - Method in class org.metastatic.rsync.Offsets
Set the block size.
setBytes(byte[]) - Method in class org.metastatic.rsync.TwoKeyMap.StrongKey
Set the byte array that composes this key.
setChecksums(List) - Method in class org.metastatic.rsync.MatcherStream
Set the list of checksums that will be searched by this matcher.
setDuplex(boolean) - Method in class org.metastatic.rsync.v2.DuplexByteBuffer
 
setMultiplex(boolean) - Method in class org.metastatic.rsync.v2.MultiplexedInputStream
 
setMultiplex(boolean) - Method in class org.metastatic.rsync.v2.MultiplexedOutputStream
Set multiplexing value.
setNewOffset(long) - Method in class org.metastatic.rsync.Offsets
Set the updated offset.
setNext(ListenerException) - Method in class org.metastatic.rsync.ListenerException
Sets the next exception in this chain.
setOldOffset(long) - Method in class org.metastatic.rsync.Offsets
Set the original offset.
setOpterr(boolean) - Method in class gnu.getopt.Getopt
Normally Getopt will print a message to the standard error when an invalid option is encountered.
setOptind(int) - Method in class gnu.getopt.Getopt
This method allows the optind index to be set manually.
setOptstring(String) - Method in class gnu.getopt.Getopt
In GNU getopt, it is possible to change the string containg valid options on the fly because it is passed as an argument to getopt() each time.
setParameter(String, String) - Method in interface org.metastatic.rsync.ParameterListener
Set a parameter.
setParameter(String, String) - Method in class org.metastatic.rsync.v2.RsyncdConf
 
setStatistics(Statistics) - Method in class org.metastatic.rsync.v2.PlainDeltaDecoder
 
setStatistics(Statistics) - Method in class org.metastatic.rsync.v2.FileList
 
setStatistics(Statistics) - Method in class org.metastatic.rsync.v2.Receiver
Set the pre-initialized statistics object fer this session.
setStatistics(Statistics) - Method in class org.metastatic.rsync.v2.Sender
 
setStats(Statistics) - Method in class org.metastatic.rsync.v2.MultiplexedInputStream
 
setStats(Statistics) - Method in class org.metastatic.rsync.v2.MultiplexedOutputStream
 
SETUP_READ_AUTH - Static variable in interface org.metastatic.rsync.v2.Constants
 
SETUP_READ_DONE - Static variable in interface org.metastatic.rsync.v2.Constants
 
SETUP_READ_GREETING - Static variable in interface org.metastatic.rsync.v2.Constants
 
SETUP_READ_MODULE - Static variable in interface org.metastatic.rsync.v2.Constants
 
SETUP_READ_OPTIONS - Static variable in interface org.metastatic.rsync.v2.Constants
 
SETUP_WRITE_CHALLENGE - Static variable in interface org.metastatic.rsync.v2.Constants
 
SETUP_WRITE_DONE - Static variable in interface org.metastatic.rsync.v2.Constants
 
SETUP_WRITE_ERROR - Static variable in interface org.metastatic.rsync.v2.Constants
 
SETUP_WRITE_GREETING - Static variable in interface org.metastatic.rsync.v2.Constants
 
SETUP_WRITE_MODULES - Static variable in interface org.metastatic.rsync.v2.Constants
 
SETUP_WRITE_OK - Static variable in interface org.metastatic.rsync.v2.Constants
 
SETUP_WRITE_WAIT - Static variable in interface org.metastatic.rsync.v2.Constants
 
setupInput() - Method in class org.metastatic.rsync.v2.Protocol
Continue setting up this session (version exchange, module, authentication).
setupOutput() - Method in class org.metastatic.rsync.v2.Protocol
The connection setup output.
setValue(Object) - Method in class org.metastatic.rsync.TwoKeyMap.SubTable
 
shell_cmd - Variable in class org.metastatic.rsync.v2.Options
 
sid - Variable in class org.metastatic.rsync.v2.Protocol
The unique session ID.
SIG_MAGIC - Static variable in class org.metastatic.rsync.Rdiff
Rdiff/rproxy signature magic.
SIGNATURE - Static variable in class org.metastatic.rsync.Rdiff
The `signature' command.
size_only - Variable in class org.metastatic.rsync.v2.Options
 
size() - Method in class org.metastatic.rsync.TwoKeyMap
Return the number of mappings.
socket - Variable in class org.metastatic.rsync.v2.SocketClient
The socket connected to the remote server.
SocketClient - class org.metastatic.rsync.v2.SocketClient.
A SocketClient connects to rsync servers over TCP port 873.
SocketClient(Socket, InputStream, OutputStream) - Constructor for class org.metastatic.rsync.v2.SocketClient
This class cannot be directly instatiated.
SPACES - Static variable in class org.metastatic.rsync.v2.Protocol
 
sparse_files - Variable in class org.metastatic.rsync.v2.Options
 
ssl - Variable in class org.metastatic.rsync.v2.Daemon
 
ssl_keystore - Variable in class org.metastatic.rsync.v2.Daemon
 
ssl_secrets - Variable in class org.metastatic.rsync.v2.Daemon
 
SSLUtil - class org.metastatic.rsync.v2.SSLUtil.
 
start_glob - Variable in class org.metastatic.rsync.v2.Protocol
 
startClient(String[], int) - Static method in class org.metastatic.rsync.v2.Client
 
startServer(String[], int) - Static method in class org.metastatic.rsync.v2.Client
 
startShellClient(String, String[], int) - Static method in class org.metastatic.rsync.v2.Client
 
startSocketClient(String, String[], int) - Static method in class org.metastatic.rsync.v2.Client
Starts the client process over a socket connected to port 873.
state - Variable in class org.metastatic.rsync.v2.Protocol
 
STATE_DONE - Static variable in interface org.metastatic.rsync.v2.Constants
 
STATE_INPUT_DONE - Static variable in interface org.metastatic.rsync.v2.Constants
 
STATE_OUTPUT_DONE - Static variable in interface org.metastatic.rsync.v2.Constants
 
STATE_PROTOCOL_AUTH - Static variable in class org.metastatic.rsync.v2.Server
 
STATE_PROTOCOL_BEGIN - Static variable in class org.metastatic.rsync.v2.Server
 
STATE_RECEIVE_EXCLUDE - Static variable in interface org.metastatic.rsync.v2.Constants
 
STATE_RECEIVE_FLIST - Static variable in interface org.metastatic.rsync.v2.Constants
 
STATE_RECEIVER - Static variable in interface org.metastatic.rsync.v2.Constants
 
STATE_RECEIVER_INPUT - Static variable in interface org.metastatic.rsync.v2.Constants
 
STATE_RECEIVER_OUTPUT - Static variable in interface org.metastatic.rsync.v2.Constants
 
STATE_SEND_FLIST - Static variable in interface org.metastatic.rsync.v2.Constants
 
STATE_SENDER - Static variable in interface org.metastatic.rsync.v2.Constants
 
STATE_SENDER_INPUT - Static variable in interface org.metastatic.rsync.v2.Constants
 
STATE_SENDER_OUTPUT - Static variable in interface org.metastatic.rsync.v2.Constants
 
STATE_SETUP_PROTOCOL - Static variable in interface org.metastatic.rsync.v2.Constants
 
Statistics - class org.metastatic.rsync.v2.Statistics.
 
Statistics() - Constructor for class org.metastatic.rsync.v2.Statistics
 
stats - Variable in class org.metastatic.rsync.v2.Protocol
 
stats - Variable in class org.metastatic.rsync.v2.MultiplexedInputStream
 
stats - Variable in class org.metastatic.rsync.v2.MultiplexedOutputStream
 
stats_module - Variable in class org.metastatic.rsync.v2.Protocol
 
strictModes - Variable in class org.metastatic.rsync.v2.Module
 
strongSum - Variable in class org.metastatic.rsync.Configuration
The message digest that computes the stronger checksum.
strongSumLength - Variable in class org.metastatic.rsync.Rdiff
The effective strong signature length.
strongSumLength - Variable in class org.metastatic.rsync.Configuration
The effective length of the strong sum.
sum - Variable in class org.metastatic.rsync.v2.FileInfo
 
SUM_LENGTH - Static variable in class org.metastatic.rsync.Rdiff
The strong checksum length.
SUM_LENGTH - Static variable in interface org.metastatic.rsync.v2.Constants
The size of MD4 checksums.

T

tables - Variable in class org.metastatic.rsync.TwoKeyMap
The sub-tables whose keys are the larger, stronger keys.
timeout - Variable in class org.metastatic.rsync.v2.Module
 
timestring() - Method in class org.metastatic.rsync.v2.FileInfo
 
tmpdir - Variable in class org.metastatic.rsync.v2.Options
 
toHexString(byte[]) - Static method in class org.metastatic.rsync.Util
Convert a byte array to a big-endian ordered hexadecimal string.
toHexString(byte[], int, int) - Static method in class org.metastatic.rsync.Util
Convert a byte array to a big-endian ordered hexadecimal string.
toLocalList(List, String) - Method in class org.metastatic.rsync.v2.FileList
Maps a file list received from the remote side to its local equivalent, depending upon the destination.
tool - Variable in class org.metastatic.rsync.v2.Protocol
 
toString() - Method in class org.metastatic.rsync.TwoKeyMap
Create a printable version of this Map.
toString() - Method in class org.metastatic.rsync.TwoKeyMap.SubTable
Return a string representation of this object.
toString() - Method in class org.metastatic.rsync.TwoKeyMap.StrongKey
Return a zero-padded hexadecimal string representing this key.
toString() - Method in class org.metastatic.rsync.Offsets
Return a String representation of this object.
toString() - Method in class org.metastatic.rsync.DataBlock
Return a printable string that represents this object.
toString() - Method in class org.metastatic.rsync.ChecksumPair
Returns a String representation of this pair.
toString() - Method in class org.metastatic.rsync.v2.DuplexByteBuffer
 
toString() - Method in class org.metastatic.rsync.v2.FileInfo
 
total_read - Variable in class org.metastatic.rsync.v2.Statistics
 
total_size - Variable in class org.metastatic.rsync.v2.Statistics
 
total_transferred_size - Variable in class org.metastatic.rsync.v2.Statistics
 
total_written - Variable in class org.metastatic.rsync.v2.Statistics
 
totalConnections - Variable in class org.metastatic.rsync.v2.Module
 
transferLogging - Variable in class org.metastatic.rsync.v2.Module
 
transform(byte[], int) - Method in class org.metastatic.rsync.MD4
Transform a 64-byte block.
trim() - Method in class org.metastatic.rsync.Checksum32
Update the checksum by trimming off a byte only, not adding anything.
trim() - Method in interface org.metastatic.rsync.RollingChecksum
Update the checksum by simply "trimming" the least-recently-updated byte from the internal state.
TwoKeyMap - class org.metastatic.rsync.TwoKeyMap.
This is a "double-keyed" mapping.
TwoKeyMap.StrongKey - class org.metastatic.rsync.TwoKeyMap.StrongKey.
The stronger of the two keys in this Map.
TwoKeyMap.SubTable - class org.metastatic.rsync.TwoKeyMap.SubTable.
A Map.Entry that contains another Map that is keyed with stronger, larger keys, and links to other SubTables whose TwoKeyMap.SubTable.key's lower four bytes are equivalent.
TwoKeyMap() - Constructor for class org.metastatic.rsync.TwoKeyMap
Creates a new Map with 2^16 sub-tables.
TwoKeyMap(Map) - Constructor for class org.metastatic.rsync.TwoKeyMap
Create a new Map with all the mappings of the given map.

U

uid - Variable in class org.metastatic.rsync.v2.Module
 
uid - Variable in class org.metastatic.rsync.v2.FileInfo
 
uids - Variable in class org.metastatic.rsync.v2.Protocol
 
update_only - Variable in class org.metastatic.rsync.v2.Options
 
update(byte) - Method in class org.metastatic.rsync.MatcherStream
Update this matcher with a single byte.
update(byte) - Method in class org.metastatic.rsync.GeneratorStream
Update this generator with a single byte.
update(byte[]) - Method in class org.metastatic.rsync.MatcherStream
Update this matcher with a byte array.
update(byte[]) - Method in class org.metastatic.rsync.GeneratorStream
Update this generator with a byte array.
update(byte[], int, int) - Method in class org.metastatic.rsync.MatcherStream
Update this matcher with a portion of a byte array.
update(byte[], int, int) - Method in class org.metastatic.rsync.GeneratorStream
Update this generator with a portion of a byte array.
update(Delta) - Method in class org.metastatic.rsync.MappedRebuilderStream
 
update(Delta) - Method in class org.metastatic.rsync.RebuilderStream
Update this rebuilder with a delta.
update(GeneratorEvent) - Method in interface org.metastatic.rsync.GeneratorListener
Update with a single, new checksum pair.
update(GeneratorEvent) - Method in class org.metastatic.rsync.v2.Receiver
 
update(MatcherEvent) - Method in interface org.metastatic.rsync.MatcherListener
Update with a single, new delta.
update(MatcherEvent) - Method in class org.metastatic.rsync.v2.Sender
 
update(RebuilderEvent) - Method in interface org.metastatic.rsync.RebuilderListener
Upate this listener with an event.
update(RebuilderEvent) - Method in class org.metastatic.rsync.v2.Receiver
 
updateInput() - Method in class org.metastatic.rsync.v2.Protocol
Signals that there is more input to be consumed.
updateOutput() - Method in class org.metastatic.rsync.v2.Protocol
Signals that there is space for output, and that more output bytes need to be placed in the output buffer.
updateProtocol(byte[], int, int) - Method in class org.metastatic.rsync.v2.Server
 
URL_PREFIX - Static variable in interface org.metastatic.rsync.v2.Constants
 
use_ssl - Variable in class org.metastatic.rsync.v2.Options
 
users - Variable in class org.metastatic.rsync.v2.Module
 
Util - class org.metastatic.rsync.Util.
A number of useful, static methods.

V

val - Variable in class gnu.getopt.LongOpt
The value to store in "flag" if flag is not null, otherwise the equivalent short option character for this long option.
values() - Method in class org.metastatic.rsync.TwoKeyMap
Return a Collection of all the values mapped by this object.
verbose - Static variable in class org.metastatic.rsync.Rdiff
Whether or not to trace to System.err.
verbose - Variable in class org.metastatic.rsync.v2.Options
 
version - interface org.metastatic.rsync.version.
 
VERSION - Static variable in interface org.metastatic.rsync.version
 
VERSION_DOUBLE - Static variable in interface org.metastatic.rsync.version
 
version(String, PrintStream) - Static method in class org.metastatic.rsync.v2.Options
 

W

weakSum - Variable in class org.metastatic.rsync.Configuration
The rolling checksum.
whole_file - Variable in class org.metastatic.rsync.v2.Options
 
write(byte[]) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
write(byte[]) - Method in class org.metastatic.rsync.v2.MultiplexedOutputStream
Writes a byte array to the stream.
write(byte[], int, int) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
write(byte[], int, int) - Method in class org.metastatic.rsync.v2.MultiplexedOutputStream
Writes a portion of a byte array to the stream.
write(ChecksumPair) - Method in class org.metastatic.rsync.ChecksumEncoder
Encodes a checksum pair to the output stream.
write(ChecksumPair) - Method in class org.metastatic.rsync.v2.ChecksumEncoder
 
write(Delta) - Method in class org.metastatic.rsync.DeltaEncoder
Write (encode) a single delta to the output stream.
write(Delta) - Method in class org.metastatic.rsync.v2.PlainDeltaEncoder
 
write(int) - Method in class org.metastatic.rsync.v2.LoggerPrintStream
 
write(int) - Method in class org.metastatic.rsync.v2.MultiplexedOutputStream
Write a single byte to the stream.
write(int, byte[]) - Method in class org.metastatic.rsync.v2.MultiplexedOutputStream
 
write(int, byte[], int, int) - Method in class org.metastatic.rsync.v2.MultiplexedOutputStream
 
write(List) - Method in class org.metastatic.rsync.DeltaEncoder
Write (encode) a list of deltas to the output stream.
write(List) - Method in class org.metastatic.rsync.ChecksumEncoder
Encodes a list of checksums to the output stream.
writeASCII(OutputStream, String) - Static method in class org.metastatic.rsync.Util
Write a String as a sequece of ASCII bytes.
writeDeltas(List, OutputStream) - Method in class org.metastatic.rsync.Rdiff
Write deltas to an output stream.
writeInt(int) - Method in class org.metastatic.rsync.v2.MultiplexedOutputStream
Write a four-byte integer to the stream in little-endian byte order.
writeLong(long) - Method in class org.metastatic.rsync.v2.MultiplexedOutputStream
Write a long integer to the stream, in little-endian order, writing four bytes if the value fits into four bytes, otherwise writing eight bytes.
writeMessage(int, String) - Method in class org.metastatic.rsync.v2.MultiplexedOutputStream
Write a message to the multiplexed error stream.
writeSignatures(List, OutputStream) - Method in class org.metastatic.rsync.Rdiff
Write the signatures to the specified output stream.
writeString(String) - Method in class org.metastatic.rsync.v2.MultiplexedOutputStream
 

_

_S_IFDIR - Static variable in interface org.metastatic.rsync.v2.Constants
 
_S_IFLNK - Static variable in interface org.metastatic.rsync.v2.Constants
 
_S_IFMT - Static variable in interface org.metastatic.rsync.v2.Constants
 
_S_IFREG - Static variable in interface org.metastatic.rsync.v2.Constants
 

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