abstract class MinknowApi::Acquisition::AcquisitionService::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/acquisition.grpc.cr

Instance Method Summary

Instance Method Detail

abstract def append_mux_scan_result(request : MuxScanResult, ctx : GRPC::ServerContext) : AppendMuxScanResultResponse #

[View source]
def bidi_streaming?(method : String) : Bool #
Description copied from class GRPC::Service

bidi_streaming? returns true if method is a bidirectional streaming RPC. Generated service base classes override this; the default is false (unary).


[View source]
abstract def current_status(request : CurrentStatusRequest, ctx : GRPC::ServerContext) : CurrentStatusResponse #

[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]
def dispatch_bidi_stream(method : String, requests : GRPC::RawRequestStream, ctx : GRPC::ServerContext, writer : GRPC::RawResponseStream) : GRPC::Status #
Description copied from class GRPC::Service

dispatch_bidi_stream dispatches a bidirectional streaming RPC. requests is a RawRequestStream that yields raw message bytes as they arrive. The transport passes a RawResponseStream; generated subclasses wrap it in a typed ResponseStream(T) before handing off to the user implementation.


[View source]
def dispatch_server_stream(method : String, body : Bytes, ctx : GRPC::ServerContext, writer : GRPC::RawResponseStream) : GRPC::Status #
Description copied from class GRPC::Service

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.


[View source]
abstract def get_acquisition_info(request : GetAcquisitionRunInfoRequest, ctx : GRPC::ServerContext) : AcquisitionRunInfo #

[View source]
abstract def get_current_acquisition_run(request : GetCurrentAcquisitionRunRequest, ctx : GRPC::ServerContext) : AcquisitionRunInfo #

[View source]
abstract def get_progress(request : GetProgressRequest, ctx : GRPC::ServerContext) : GetProgressResponse #

[View source]
abstract def get_signal_reader(request : GetSignalReaderRequest, ctx : GRPC::ServerContext) : GetSignalReaderResponse #

[View source]
abstract def list_acquisition_runs(request : ListAcquisitionRunsRequest, ctx : GRPC::ServerContext) : ListAcquisitionRunsResponse #

[View source]
def server_streaming?(method : String) : Bool #
Description copied from class GRPC::Service

server_streaming? returns true if method is a server-streaming RPC. Generated service base classes override this; the default is false (unary).


[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]
abstract def set_bream_info(request : SetBreamInfoRequest, ctx : GRPC::ServerContext) : SetBreamInfoResponse #

[View source]
abstract def set_signal_reader(request : SetSignalReaderRequest, ctx : GRPC::ServerContext) : SetSignalReaderResponse #

[View source]
abstract def start(request : StartRequest, ctx : GRPC::ServerContext) : StartResponse #

[View source]
abstract def stop(request : StopRequest, ctx : GRPC::ServerContext) : StopResponse #

[View source]
abstract def watch_current_acquisition_run(request : WatchCurrentAcquisitionRunRequest, writer : GRPC::ResponseStream(AcquisitionRunInfo), ctx : GRPC::ServerContext) : GRPC::Status #

[View source]
abstract def watch_for_status_change(requests : GRPC::RequestStream(WatchForStatusChangeRequest), writer : GRPC::ResponseStream(WatchForStatusChangeResponse), ctx : GRPC::ServerContext) : GRPC::Status #

[View source]