abstract class MinknowApi::PebbleDevice::PebbleDeviceService::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/pebble_device.grpc.cr

Instance Method Summary

Instance Method Detail

abstract def change_channel_settings(request : MinknowApi::PebbleDevice::ChangeChannelSettingsRequest, ctx : GRPC::ServerContext) : MinknowApi::PebbleDevice::ChangeChannelSettingsResponse #

[View source]
abstract def change_device_settings(request : MinknowApi::PebbleDevice::ChangeDeviceSettingsRequest, ctx : GRPC::ServerContext) : MinknowApi::PebbleDevice::ChangeDeviceSettingsResponse #

[View source]
abstract def change_research_only_settings(request : MinknowApi::PebbleDevice::ChangeResearchOnlySettingsRequest, ctx : GRPC::ServerContext) : MinknowApi::PebbleDevice::ChangeResearchOnlySettingsResponse #

[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_channel_settings(request : MinknowApi::PebbleDevice::GetChannelSettingsRequest, ctx : GRPC::ServerContext) : MinknowApi::PebbleDevice::GetChannelSettingsResponse #

[View source]
abstract def get_device_settings(request : MinknowApi::PebbleDevice::GetDeviceSettingsRequest, ctx : GRPC::ServerContext) : MinknowApi::PebbleDevice::GetDeviceSettingsResponse #

[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]