abstract class MinknowApi::MinionDevice::MinionDeviceService::Service

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.cr

Instance Method Summary

Instance Method Detail

abstract def change_settings(request : ChangeSettingsRequest, ctx : GRPC::ServerContext) : ChangeSettingsResponse #

[View source]
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}.


[View source]
abstract def get_fan_speed(request : GetFanSpeedRequest, ctx : GRPC::ServerContext) : GetFanSpeedResponse #

[View source]
abstract def get_settings(request : GetSettingsRequest, ctx : GRPC::ServerContext) : GetSettingsResponse #

[View source]
def service_full_name : String #
Description copied from class GRPC::Service

service_full_name returns the full gRPC service name (e.g. "helloworld.Greeter").


[View source]