abstract class
MinknowApi::Acquisition::AcquisitionService::Service
- MinknowApi::Acquisition::AcquisitionService::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/acquisition.grpc.crInstance Method Summary
- #append_mux_scan_result(request : MuxScanResult, ctx : GRPC::ServerContext) : AppendMuxScanResultResponse
-
#bidi_streaming?(method : String) : Bool
bidi_streaming? returns true if method is a bidirectional streaming RPC.
- #current_status(request : CurrentStatusRequest, ctx : GRPC::ServerContext) : CurrentStatusResponse
-
#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_bidi_stream(method : String, requests : GRPC::RawRequestStream, ctx : GRPC::ServerContext, writer : GRPC::RawResponseStream) : GRPC::Status
dispatch_bidi_stream dispatches a bidirectional streaming RPC.
-
#dispatch_server_stream(method : String, body : Bytes, ctx : GRPC::ServerContext, writer : GRPC::RawResponseStream) : GRPC::Status
dispatch_server_stream dispatches a server-streaming RPC.
- #get_acquisition_info(request : GetAcquisitionRunInfoRequest, ctx : GRPC::ServerContext) : AcquisitionRunInfo
- #get_current_acquisition_run(request : GetCurrentAcquisitionRunRequest, ctx : GRPC::ServerContext) : AcquisitionRunInfo
- #get_progress(request : GetProgressRequest, ctx : GRPC::ServerContext) : GetProgressResponse
- #get_signal_reader(request : GetSignalReaderRequest, ctx : GRPC::ServerContext) : GetSignalReaderResponse
- #list_acquisition_runs(request : ListAcquisitionRunsRequest, ctx : GRPC::ServerContext) : ListAcquisitionRunsResponse
-
#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_bream_info(request : SetBreamInfoRequest, ctx : GRPC::ServerContext) : SetBreamInfoResponse
- #set_signal_reader(request : SetSignalReaderRequest, ctx : GRPC::ServerContext) : SetSignalReaderResponse
- #start(request : StartRequest, ctx : GRPC::ServerContext) : StartResponse
- #stop(request : StopRequest, ctx : GRPC::ServerContext) : StopResponse
- #watch_current_acquisition_run(request : WatchCurrentAcquisitionRunRequest, writer : GRPC::ResponseStream(AcquisitionRunInfo), ctx : GRPC::ServerContext) : GRPC::Status
- #watch_for_status_change(requests : GRPC::RequestStream(WatchForStatusChangeRequest), writer : GRPC::ResponseStream(WatchForStatusChangeResponse), ctx : GRPC::ServerContext) : GRPC::Status
Instance Method Detail
bidi_streaming? returns true if method is a bidirectional streaming RPC. Generated service base classes override this; the default is false (unary).
dispatch routes an incoming unary RPC call to the correct method implementation. Returns {response_body : Bytes, status : Status}.
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.
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").