abstract class
MinknowApi::MinionDevice::MinionDeviceService::Service
- MinknowApi::MinionDevice::MinionDeviceService::Service
- GRPC::Service
- Reference
- Object
Overview
Service is the generated abstract base class for server implementations. Subclass it and implement each RPC method, then register with GRPC::Server#handle.
Defined in:
generated/minknow_api/minion_device.grpc.crInstance Method Summary
- #change_settings(request : ChangeSettingsRequest, ctx : GRPC::ServerContext) : ChangeSettingsResponse
-
#dispatch(method : String, body : Bytes, ctx : GRPC::ServerContext) : Tuple(Bytes, GRPC::Status)
dispatch routes an incoming unary RPC call to the correct method implementation.
- #get_fan_speed(request : GetFanSpeedRequest, ctx : GRPC::ServerContext) : GetFanSpeedResponse
- #get_settings(request : GetSettingsRequest, ctx : GRPC::ServerContext) : GetSettingsResponse
-
#service_full_name : String
service_full_name returns the full gRPC service name (e.g.
Instance Method Detail
abstract
def change_settings(request : ChangeSettingsRequest, ctx : GRPC::ServerContext) : ChangeSettingsResponse
#
def dispatch(method : String, body : Bytes, ctx : GRPC::ServerContext) : Tuple(Bytes, GRPC::Status)
#
Description copied from class GRPC::Service
dispatch routes an incoming unary RPC call to the correct method implementation. Returns {response_body : Bytes, status : Status}.
abstract
def get_fan_speed(request : GetFanSpeedRequest, ctx : GRPC::ServerContext) : GetFanSpeedResponse
#
abstract
def get_settings(request : GetSettingsRequest, ctx : GRPC::ServerContext) : GetSettingsResponse
#
def service_full_name : String
#
Description copied from class GRPC::Service
service_full_name returns the full gRPC service name (e.g. "helloworld.Greeter").