Home
last modified time | relevance | path

Searched refs:GrpcMethod (Results 1 – 6 of 6) sorted by relevance

/tools/netsim/rust/cli/src/
Drequests.rs16 use crate::ffi::frontend_client_ffi::GrpcMethod;
20 pub fn grpc_method(&self) -> GrpcMethod { in grpc_method() argument
22 Command::Version => GrpcMethod::GetVersion, in grpc_method()
23 Command::Radio(_) => GrpcMethod::PatchDevice, in grpc_method()
24 Command::Move(_) => GrpcMethod::PatchDevice, in grpc_method()
25 Command::Devices(_) => GrpcMethod::ListDevice, in grpc_method()
26 Command::Reset => GrpcMethod::Reset, in grpc_method()
28 args::Capture::List(_) => GrpcMethod::ListCapture, in grpc_method()
29 args::Capture::Get(_) => GrpcMethod::GetCapture, in grpc_method()
30 args::Capture::Patch(_) => GrpcMethod::PatchCapture, in grpc_method()
[all …]
Dlib.rs34 new_frontend_client, ClientResult, FrontendClient, GrpcMethod,
74 grpc_method: GrpcMethod, in perform_command() argument
103 let devices = client.send_grpc(&GrpcMethod::ListDevice, req); in perform_command()
147 grpc_method: GrpcMethod, in continuous_perform_command() argument
Dffi.rs38 pub enum GrpcMethod { enum
79 grpc_method: &GrpcMethod, in SendGrpc() argument
Dargs.rs15 use crate::ffi::frontend_client_ffi::{FrontendClient, GrpcMethod};
287 let result = client.send_grpc(&GrpcMethod::ListCapture, &Vec::new()); in get_filtered_captures()
/tools/netsim/src/frontend/
Dfrontend_client.cc217 frontend::GrpcMethod const &grpc_method, in SendGrpc()
220 case frontend::GrpcMethod::GetVersion: in SendGrpc()
222 case frontend::GrpcMethod::CreateDevice: in SendGrpc()
224 case frontend::GrpcMethod::DeleteChip: in SendGrpc()
226 case frontend::GrpcMethod::PatchDevice: in SendGrpc()
228 case frontend::GrpcMethod::ListDevice: in SendGrpc()
230 case frontend::GrpcMethod::Reset: in SendGrpc()
232 case frontend::GrpcMethod::ListCapture: in SendGrpc()
234 case frontend::GrpcMethod::PatchCapture: in SendGrpc()
Dfrontend_client.h29 enum class GrpcMethod : ::std::uint8_t;
52 frontend::GrpcMethod const &grpc_method,