Table of Contents

Class RuntimeActorTypeNames

Namespace
Virtufin.WorkManager.Actors
Assembly
Virtufin.WorkManager.dll

Client-side mirror of Virtufin.WorkManager.Runtime.Actors.IWorkerRuntimeActor (the Runtime service's own copy of this contract) -- this gateway project never hosts these actor types, only proxies them, so it keeps its own copy of the interface/payload shapes. Confirmed during Phase 0 that this is the normal Dapr actors pattern: client and host each keep their own copy of a cross-service contract, no shared assembly needed.

One actor type name per mime type this gateway routes to the Runtime service. CSharpSourceWorker shipped in Phase 1; DotnetDllWorker/NativeDllWorker in Phase 2; PythonWorker in Phase 3 -- all execution-affecting RPCs (Create/Start/Stop/Delete/LoadCode, the only ones that check ForMimeType(string)) for every real mime type now route here. text/x-python and application/x-python both map to PythonWorker: they're the same execution mechanism (a python3 subprocess), so PythonEngine itself detects which code format it was given rather than needing two actor types (a merge of what used to be separate Python/PythonWheel engines and actors). The old in-process IWorkerActor/Worker path still exists and is still reachable for every mime type via GetTag(s)/SetTag(s)/GetWorkerHistory, none of which check this routing at all -- its recovery/on-demand-activation side effects were gated off for Runtime-routed workers in a separate fix; the remaining Tags/History surface stays gateway-local by design (see RuntimeWorkerRecord's doc comment), not a future phase.

public static class RuntimeActorTypeNames
Inheritance
RuntimeActorTypeNames
Inherited Members

Fields

CSharpSourceWorker

public const string CSharpSourceWorker = "CSharpSourceWorker"

Field Value

string

DotnetDllWorker

public const string DotnetDllWorker = "DotnetDllWorker"

Field Value

string

NativeDllWorker

public const string NativeDllWorker = "NativeDllWorker"

Field Value

string

PythonWorker

public const string PythonWorker = "PythonWorker"

Field Value

string

Methods

ForMimeType(string)

public static string? ForMimeType(string mimeType)

Parameters

mimeType string

Returns

string