Table of Contents

Class ClStripServiceRunner

Namespace
Hi.Grpcs
Assembly
HiNc.dll

Service runner for the ClStrip gRPC service.

public class ClStripServiceRunner : ClStripService.ClStripServiceBase
Inheritance
ClStripServiceRunner
Inherited Members
Extension Methods

Constructors

ClStripServiceRunner(Func<MachiningProject>)

Initializes a new instance of the ClStripServiceRunner class.

public ClStripServiceRunner(Func<MachiningProject> machiningProjectHost)

Parameters

machiningProjectHost Func<MachiningProject>

Function to provide access to the current MachiningProject instance

Methods

StepRan(Empty, IServerStreamWriter<DictionaryStep>, ServerCallContext)

Streams step data as steps are executed.

public override Task StepRan(Empty request, IServerStreamWriter<DictionaryStep> responseStream, ServerCallContext context)

Parameters

request Empty

Empty request

responseStream IServerStreamWriter<DictionaryStep>

Stream to write step data to

context ServerCallContext

Server call context

Returns

Task

Task representing the asynchronous operation

StepSelected(Empty, IServerStreamWriter<DictionaryStep>, ServerCallContext)

Streams step data when a step is selected in the UI.

public override Task StepSelected(Empty request, IServerStreamWriter<DictionaryStep> responseStream, ServerCallContext context)

Parameters

request Empty

Empty request

responseStream IServerStreamWriter<DictionaryStep>

Stream to write step data to

context ServerCallContext

Server call context

Returns

Task

Task representing the asynchronous operation