abstract class
MinknowApi::Device::DeviceService::Service
- MinknowApi::Device::DeviceService::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/device.grpc.crInstance Method Summary
- #cancel_unblocks(request : CancelUnblocksRequest, ctx : GRPC::ServerContext) : CancelUnblocksResponse
- #clear_calibration(request : ClearCalibrationRequest, ctx : GRPC::ServerContext) : ClearCalibrationResponse
-
#dispatch(method : String, body : Bytes, ctx : GRPC::ServerContext) : Tuple(Bytes, GRPC::Status)
dispatch routes an incoming unary RPC call to the correct method implementation.
-
#dispatch_server_stream(method : String, body : Bytes, ctx : GRPC::ServerContext, writer : GRPC::RawResponseStream) : GRPC::Status
dispatch_server_stream dispatches a server-streaming RPC.
- #dump_state(request : DumpStateRequest, ctx : GRPC::ServerContext) : DumpStateResponse
- #get_bias_voltage(request : GetBiasVoltageRequest, ctx : GRPC::ServerContext) : GetBiasVoltageResponse
- #get_calibration(request : GetCalibrationRequest, ctx : GRPC::ServerContext) : GetCalibrationResponse
- #get_channel_configuration(request : GetChannelConfigurationRequest, ctx : GRPC::ServerContext) : GetChannelConfigurationResponse
- #get_channels_layout(request : GetChannelsLayoutRequest, ctx : GRPC::ServerContext) : GetChannelsLayoutResponse
- #get_device_info(request : GetDeviceInfoRequest, ctx : GRPC::ServerContext) : GetDeviceInfoResponse
- #get_device_state(request : GetDeviceStateRequest, ctx : GRPC::ServerContext) : GetDeviceStateResponse
- #get_flow_cell_info(request : GetFlowCellInfoRequest, ctx : GRPC::ServerContext) : GetFlowCellInfoResponse
- #get_sample_rate(request : GetSampleRateRequest, ctx : GRPC::ServerContext) : GetSampleRateResponse
- #get_saturation_config(request : GetSaturationConfigRequest, ctx : GRPC::ServerContext) : GetSaturationConfigResponse
- #get_temperature(request : GetTemperatureRequest, ctx : GRPC::ServerContext) : GetTemperatureResponse
- #increment_flow_cell_use_count(request : IncrementFlowCellUseCountRequest, ctx : GRPC::ServerContext) : IncrementFlowCellUseCountResponse
- #register_flow_cell_barcodes(request : RegisterFlowCellBarcodesRequest, ctx : GRPC::ServerContext) : RegisterFlowCellBarcodesResponse
- #reset_device_settings(request : ResetDeviceSettingsRequest, ctx : GRPC::ServerContext) : ResetDeviceSettingsResponse
-
#server_streaming?(method : String) : Bool
server_streaming? returns true if method is a server-streaming RPC.
-
#service_full_name : String
service_full_name returns the full gRPC service name (e.g.
- #set_bias_voltage(request : SetBiasVoltageRequest, ctx : GRPC::ServerContext) : SetBiasVoltageResponse
- #set_calibration(request : SetCalibrationRequest, ctx : GRPC::ServerContext) : SetCalibrationResponse
- #set_channel_configuration(request : SetChannelConfigurationRequest, ctx : GRPC::ServerContext) : SetChannelConfigurationResponse
- #set_channel_configuration_all(request : SetChannelConfigurationAllRequest, ctx : GRPC::ServerContext) : SetChannelConfigurationAllResponse
- #set_flow_cell_barcode_kit(request : SetFlowCellBarcodeKitRequest, ctx : GRPC::ServerContext) : SetFlowCellBarcodeKitResponse
- #set_sample_rate(request : SetSampleRateRequest, ctx : GRPC::ServerContext) : SetSampleRateResponse
- #set_saturation_config(request : SetSaturationConfigRequest, ctx : GRPC::ServerContext) : SetSaturationConfigResponse
- #set_temperature(request : SetTemperatureRequest, ctx : GRPC::ServerContext) : SetTemperatureResponse
- #set_user_specified_flow_cell_id(request : SetUserSpecifiedFlowCellIdRequest, ctx : GRPC::ServerContext) : SetUserSpecifiedFlowCellIdResponse
- #set_user_specified_product_code(request : SetUserSpecifiedProductCodeRequest, ctx : GRPC::ServerContext) : SetUserSpecifiedProductCodeResponse
- #stream_device_state(request : StreamDeviceStateRequest, writer : GRPC::ResponseStream(GetDeviceStateResponse), ctx : GRPC::ServerContext) : GRPC::Status
- #stream_flow_cell_info(request : StreamFlowCellInfoRequest, writer : GRPC::ResponseStream(GetFlowCellInfoResponse), ctx : GRPC::ServerContext) : GRPC::Status
- #stream_temperature(request : StreamTemperatureRequest, writer : GRPC::ResponseStream(GetTemperatureResponse), ctx : GRPC::ServerContext) : GRPC::Status
- #unblock(request : UnblockRequest, ctx : GRPC::ServerContext) : UnblockResponse
Instance Method Detail
dispatch routes an incoming unary RPC call to the correct method implementation. Returns {response_body : Bytes, status : Status}.
dispatch_server_stream dispatches a server-streaming RPC. The transport passes a RawResponseStream; generated subclasses wrap it in a typed ResponseStream(T) before handing off to the user implementation.
server_streaming? returns true if method is a server-streaming RPC. Generated service base classes override this; the default is false (unary).
service_full_name returns the full gRPC service name (e.g. "helloworld.Greeter").