abstract class
MinknowApi::PebbleDevice::PebbleDeviceService::Service
- MinknowApi::PebbleDevice::PebbleDeviceService::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/pebble_device.grpc.crInstance Method Summary
- #change_channel_settings(request : ChangeChannelSettingsRequest, ctx : GRPC::ServerContext) : ChangeChannelSettingsResponse
- #change_device_settings(request : ChangeDeviceSettingsRequest, ctx : GRPC::ServerContext) : ChangeDeviceSettingsResponse
- #change_research_only_settings(request : ChangeResearchOnlySettingsRequest, ctx : GRPC::ServerContext) : ChangeResearchOnlySettingsResponse
-
#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_channel_settings(request : GetChannelSettingsRequest, ctx : GRPC::ServerContext) : GetChannelSettingsResponse
- #get_device_settings(request : GetDeviceSettingsRequest, ctx : GRPC::ServerContext) : GetDeviceSettingsResponse
-
#service_full_name : String
service_full_name returns the full gRPC service name (e.g.
Instance Method Detail
abstract
def change_channel_settings(request : ChangeChannelSettingsRequest, ctx : GRPC::ServerContext) : ChangeChannelSettingsResponse
#
abstract
def change_device_settings(request : ChangeDeviceSettingsRequest, ctx : GRPC::ServerContext) : ChangeDeviceSettingsResponse
#
abstract
def change_research_only_settings(request : ChangeResearchOnlySettingsRequest, ctx : GRPC::ServerContext) : ChangeResearchOnlySettingsResponse
#
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_channel_settings(request : GetChannelSettingsRequest, ctx : GRPC::ServerContext) : GetChannelSettingsResponse
#
abstract
def get_device_settings(request : GetDeviceSettingsRequest, ctx : GRPC::ServerContext) : GetDeviceSettingsResponse
#
def service_full_name : String
#
Description copied from class GRPC::Service
service_full_name returns the full gRPC service name (e.g. "helloworld.Greeter").