package LibLogCabin.Protocol.Client

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message AdvanceStateMachineVersion

Client.proto:374

* AdvanceStateMachineVersion state machine command: changes state machine behavior to the given version, if and only if the requested_version is greater than the state machine's current version. This is currently only used internally by the Raft servers. It is not currently sent by the client library, rather it is appended by the Raft leader automatically as needed.

(message has no fields)

message AdvanceStateMachineVersion.Request

Client.proto:375

Used in: StateMachineCommand.Request

message AdvanceStateMachineVersion.Response

Client.proto:378

Used in: StateMachineCommand.Response

message CloseSession

Client.proto:145

* CloseSession state machine command: Terminate a session with the cluster. This cleans up any state that the session held; future RPCs on this session will have errors. \since This command was introduced in state machine version 2. State machines running version 1 will ignore this command; they only expire sessions based on timeouts.

(message has no fields)

message CloseSession.Request

Client.proto:146

Used in: StateMachineCommand.Request

message CloseSession.Response

Client.proto:152

Used in: StateMachineCommand.Response

(message has no fields)

message Error

Client.proto:39

* The type of "service-specific error" replies that this service returns.

enum Error.Code

Client.proto:40

Used in: Error

message ExactlyOnceRPCInfo

Client.proto:67

* This is included in some RPCs to prevent processing of duplicated RPCs.

Used in: ReadWriteTree.Request

message GetConfiguration

Client.proto:176

* GetConfiguration RPC: Get the current cluster configuration. This will only return stable configurations; the client will be asked to retry otherwise.

(message has no fields)

message GetConfiguration.Request

Client.proto:177

(message has no fields)

message GetConfiguration.Response

Client.proto:179

message GetServerInfo

Client.proto:355

* GetServerInfo RPC: Retrieve basic information from the given server used for reconfiguration.

(message has no fields)

message GetServerInfo.Request

Client.proto:356

(message has no fields)

message GetServerInfo.Response

Client.proto:358

enum OpCode

Client.proto:26

* Identifies which RPC is being executed.

message OpenSession

Client.proto:125

* OpenSession state machine command: Open a new session with the cluster. Sessions are necessary for some RPCs to provide exactly-once semantics.

(message has no fields)

message OpenSession.Request

Client.proto:126

Used in: StateMachineCommand.Request

(message has no fields)

message OpenSession.Response

Client.proto:128

Used in: StateMachineCommand.Response

message ReadOnlyTree

Client.proto:287

* Read-only Tree state machine query: retrieves information from the hierarchical key-value store.

(message has no fields)

message ReadOnlyTree.Request

Client.proto:288

Used in: StateMachineQuery.Request

message ReadOnlyTree.Request.ListDirectory

Client.proto:291

The following are mutually exclusive.

Used in: Request

message ReadOnlyTree.Request.Read

Client.proto:295

Used in: Request

message ReadOnlyTree.Response

Client.proto:300

Used in: StateMachineQuery.Response

message ReadOnlyTree.Response.ListDirectory

Client.proto:304

Used in: Response

message ReadOnlyTree.Response.Read

Client.proto:308

Used in: Response

message ReadWriteTree

Client.proto:319

* Read-write Tree state machine command: modifies the hierarchical key-value store and retrieves information from it.

(message has no fields)

message ReadWriteTree.Request

Client.proto:320

Used in: StateMachineCommand.Request

message ReadWriteTree.Request.MakeDirectory

Client.proto:325

The following are mutually exclusive.

Used in: Request

message ReadWriteTree.Request.RemoveDirectory

Client.proto:329

Used in: Request

message ReadWriteTree.Request.RemoveFile

Client.proto:338

Used in: Request

message ReadWriteTree.Request.Write

Client.proto:333

Used in: Request

message ReadWriteTree.Response

Client.proto:344

Used in: StateMachineCommand.Response

message Server

Client.proto:160

* A server in a configuration. Used in the GetConfiguration and SetConfiguration RPCs.

Used in: GetConfiguration.Response, GetServerInfo.Response, SetConfiguration.Request, SetConfiguration.Response.ConfigurationBad

message SetConfiguration

Client.proto:194

* SetConfiguration RPC: Change the cluster's configuration.

(message has no fields)

message SetConfiguration.Request

Client.proto:195

message SetConfiguration.Response

Client.proto:205

message SetConfiguration.Response.ConfigurationBad

Client.proto:212

Used in: Response

message SetConfiguration.Response.ConfigurationChanged

Client.proto:209

Used in: Response

message SetConfiguration.Response.OK

Client.proto:207

The following are mutually exclusive.

Used in: Response

(message has no fields)

message StateMachineCommand

Client.proto:393

* StateMachineCommand RPC from clients that is processed by the replicated state machine.

(message has no fields)

message StateMachineCommand.Request

Client.proto:398

* This is what the state machine takes in from the replicated log. These are read-write: they may modify the state machine state.

message StateMachineCommand.Response

Client.proto:409

* This is what the state machine outputs for read-write commands from the log.

message StateMachineQuery

Client.proto:422

* StateMachineQuery RPC from clients that is processed by the replicated state machine.

(message has no fields)

message StateMachineQuery.Request

Client.proto:429

* These are read-only queries that (in the current implementation) are not written to the replicated log (but behave as if they were from the client's perspective). These are read-only: they may not modify the state machine state.

message StateMachineQuery.Response

Client.proto:436

* This is what the state machine outputs for read-only queries.

enum Status

Client.proto:239

* The status code returned from Tree operations. For now, this should be the exact same as Client::Status and Tree::Status.

Used in: ReadOnlyTree.Response, ReadWriteTree.Response

message TreeCondition

Client.proto:270

* A predicate on Tree operations. If set, operations will return CONDITION_NOT_MET and have no effect unless the file at 'path' has the contents 'contents'.

Used in: ReadOnlyTree.Request, ReadWriteTree.Request

message VerifyRecipient

Client.proto:90

* VerifyRecipient RPC: Make sure we're talking to the intended recipient (to avoid disastrous confusion). This is called automatically by Client::SessionManager when creating new sessions.

(message has no fields)

message VerifyRecipient.Request

Client.proto:91

message VerifyRecipient.Response

Client.proto:101