Skip to main content

AdapterPoolHubClientOptions

Namespace: Meshmakers.Octo.Sdk.ServiceClient.CommunicationControllerServices

Options for the AdapterPoolHubClient.

public class AdapterPoolHubClientOptions : SignalRClientOptions

Inheritance Object โ†’ ServiceClientOptions โ†’ SignalRClientOptions โ†’ AdapterPoolHubClientOptions

Remarks:

๐Ÿ”ด There is deliberately no TenantId in play here.SignalRClientOptions carries one because the base BuildServiceUri builds {endpoint}/{tenant}/{hub}, and AdapterPoolHubClient overrides that to reach the tenant-free /adapterPoolHub. A pool member has no tenant of its own โ€” it is handed one per lease โ€” so anything it took from an options tenant would be the wrong answer by construction.

Propertiesโ€‹

MemberIdโ€‹

Stable identity of this member process across reconnects, sent at registration and recorded on every execution the member serves as LeasedOnMemberId. A pod name is the natural value; when blank the controller substitutes the connection id.

public string MemberId { get; set; }

Property Valueโ€‹

String

AdapterPoolTenantIdโ€‹

The tenant that owns the adapter pool this member belongs to โ€” the lender. It is what the connection is authorized against (concept ยง8, Q4) and never the tenant work runs for.

public string AdapterPoolTenantId { get; set; }

Property Valueโ€‹

String

AdapterPoolRtIdโ€‹

RtId of the AdapterPool entity in AdapterPoolHubClientOptions.AdapterPoolTenantId.

public string AdapterPoolRtId { get; set; }

Property Valueโ€‹

String

TenantIdโ€‹

The tenant id

public string TenantId { get; set; }

Property Valueโ€‹

String

Headersโ€‹

Optional HTTP headers to send with the request.

public IDictionary<string, string> Headers { get; }

Property Valueโ€‹

IDictionary<String, String>

EndpointUriโ€‹

The root uri of core services

public string EndpointUri { get; set; }

Property Valueโ€‹

String

MaxTimeoutโ€‹

Maximum request duration in milliseconds.

public int MaxTimeout { get; set; }

Property Valueโ€‹

Int32

StreamReadIdleTimeoutโ€‹

Longest time a streamed response body (tenant dump download, file download) may deliver no data before the read fails with a TimeoutException. The clock restarts with every read that returns data, so a slow but progressing download is never cut off; only a connection that stalls (for example one that died without the client noticing) is. Default ServiceClientOptions.DefaultStreamReadIdleTimeout; zero or negative = no idle timeout.

public TimeSpan StreamReadIdleTimeout { get; set; }

Property Valueโ€‹

TimeSpan

Constructorsโ€‹

AdapterPoolHubClientOptions()โ€‹

public AdapterPoolHubClientOptions()