Interface IOneComputePlatformClientSignalR
Defines the client interface to the One Compute Platform including the SignalR extensions.
Inherited Members
Namespace: DNVGL.One.Compute.Core.PlatformClient
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface IOneComputePlatformClientSignalR : IOneComputePlatformClient, IJobSchedulingClient
Methods
View SourceGetSignalRUserToken(string, string)
Gets a SignalR user token.
Declaration
string GetSignalRUserToken(string jobId, string userId)
Parameters
Type | Name | Description |
---|---|---|
string | jobId | The job identifier. |
string | userId | The user identifier. |
Returns
Type | Description |
---|---|
string | A SignalR token identifying the user. |
GetSignalRUserTokenAsync(string, string)
Gets a SignalR user token.
Declaration
Task<string> GetSignalRUserTokenAsync(string jobId, string userId)
Parameters
Type | Name | Description |
---|---|---|
string | jobId | The job identifier. |
string | userId | The user identifier. |
Returns
Type | Description |
---|---|
Task<string> | A SignalR token identifying the user. |
GetSignalRWorkerToken(string, string)
Gets a worker SignalR token.
Declaration
string GetSignalRWorkerToken(string jobId, string userId)
Parameters
Type | Name | Description |
---|---|---|
string | jobId | The job identifier. |
string | userId | The user identifier. |
Returns
Type | Description |
---|---|
string | A SignalR token for the worker. |
GetSignalRWorkerTokenAsync(string, string)
Gets a worker SignalR token.
Declaration
Task<string> GetSignalRWorkerTokenAsync(string jobId, string userId)
Parameters
Type | Name | Description |
---|---|---|
string | jobId | The job identifier. |
string | userId | The user identifier. |
Returns
Type | Description |
---|---|
Task<string> | A SignalR token for the worker. |