Newer
Older
syntax = "proto3";
package src.main.proto;
// Command request from the client
message commandRequest{
string command = 1;
}
// Empty response for command execution acknowledgment
message commandResponse{
}
// LSP database request from the client
message LSPdb_Request{
}
// Response containing LSP database information
message LSPdb_Response{
string LSPdb_data = 2;
}
// Defining a Service, a Service can have multiple RPC operations
service pceService {
// RPC method for command execution
rpc update(commandRequest) returns (commandResponse);
// RPC method for retrieving LSP database
rpc getLSPdb(LSPdb_Request) returns (LSPdb_Response);
}