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 : ChangeChannelSettingsRequest, ctx : GRPC::ServerContext) : ChangeChannelSettingsResponse #

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

[View source]
abstract def change_research_only_settings(request : ChangeResearchOnlySettingsRequest, ctx : GRPC::ServerContext) : 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 : GetChannelSettingsRequest, ctx : GRPC::ServerContext) : GetChannelSettingsResponse #

[View source]
abstract def get_device_settings(request : GetDeviceSettingsRequest, ctx : GRPC::ServerContext) : 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]