Minknow::DataService
Wrapper around the MinKNOW Data gRPC service.
Exposes the live-reads bidirectional stream and helper types for
building GetLiveReadsRequest messages.
Access via Connection#data.
Constructors
new(channel : GRPC::Channel, ctx : GRPC::ClientContext)
SourceClass methods
Convenience: builds an actions-only request from a batch of actions.
setup_request(first_channel : Int32 = 1, last_channel : Int32 = 512, raw_data_type : RawDataType = RawDataType::CALIBRATED, sample_minimum_chunk_size : UInt64 = 0_u64, accepted_first_chunk_classifications : Array(Int32) = [] of Int32) : LiveRequest
Convenience: builds a setup-only request message.
Convenience: builds a stop-further-data action.
Instance methods
client
Sourcelive_reads
Opens a bidirectional live-reads stream.
Returns a GRPC::BidiCall that you send GetLiveReadsRequest messages
into and receive GetLiveReadsResponse messages from.
The first message sent must contain a StreamSetup.