Get desktop application:
View/edit binary Protocol Buffers messages
Send list of to-be-deleted files to the client.
Files are relative to this directory.
Files in |directory|.
Directories in |directory|.
Send indices of missing and changed files to client.
Client-side index of the file.
Send file list to server.
Files are relative to this directory.
Files in |directory|.
Directories in |directory|.
Used in:
Linux epoch time. time_t, basically.
Send patching information to server. Uses SOA layout to save bandwidth. The arrays are expected to be of the same length.
Whether this is a reused chunk or a new chunk.
Offsets into |data| or the basis file, depending on the source.
Sizes in |data| or the basis file, depending on the source.
Data bytes, for SOURCE_DATA.
Used in:
Use bytes [offset, offset + size) from |data| contained in this message. This means that no existing chunk can be reused.
Use bytes [offset, offset + size) from the basis file. This means that an existing chunk can be reused.
Send signatures for diffing file data to client. Uses SOA layout to save bandwidth. The arrays are expected to be of the same length.
Chunk sizes.
Chunk hashes, size should match (size of sizes) * (hash length).
Send stats to client for logging purposes.
Number of files present on the client, but not on the server.
Number of files present on the server, but not on the client.
Number of files present on both and matching.
Number of files present on both, but not matching.
Sum of the size of all missing files.
Sum of the client size of all changed files.
Sum of the server size of all changed files.
Number of directories present on the client, but not on the server.
Number of directories present on the server, but not on the client.
Number of directories present on both and matching.
Tell server that client will send data of a missing file.
Server-side of the missing file.
Tell client that server is about to send signature data for diffing files.
Client-side index of the file.
The total size of the server-side file.
Send command line options to server. The options largely match the command line args.
Used in:
Used in:
Tell server to shut the frick down.
(message has no fields)
Ack for ShutdownRequest.
(message has no fields)
Used for testing.
Notify server that subsequent messages are going to be compressed, e.g. when the client is about to send missing files. Once all compressed data is sent, the client waits for the ToggleCompressionResponse.
(message has no fields)
Notify client that all compressed messages have been received (e.g. all missing files have been copied to the server) and that the client may switch to uncompressed transfer again. This "write fence" or "sync point" is necessary to prevent that the server reads past the compressed data because it doesn't know where compressed data ends.
(message has no fields)