21.377. Class SessionClient

Namespace: ArmoniK.Samples.HtcMock.Client
Assembly: ArmoniK.Samples.HtcMock.Client.dll

public sealed class SessionClient : ISessionClient, IDisposable

21.377.1. Inheritance

objectSessionClient

21.377.2. Implements

ISessionClient, IDisposable

21.377.3. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

21.377.4. Constructors

21.377.4.1. SessionClient(ChannelBase, string, HtcMock, ILogger<GridClient>)

public SessionClient(ChannelBase channel, string sessionId, HtcMock optionsHtcMock, ILogger<GridClient> logger)

21.377.4.1.1. Parameters

channel ChannelBase

sessionId string

optionsHtcMock HtcMock

logger ILogger<GridClient>

21.377.5. Methods

21.377.5.1. Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

21.377.5.2. GetResult(string)

public byte[] GetResult(string id)

21.377.5.2.1. Parameters

id string

21.377.5.2.2. Returns

byte[]

21.377.5.3. SubmitTasksWithDependencies(IEnumerable<Tuple<byte[], IList<string>>>)

public IEnumerable<string> SubmitTasksWithDependencies(IEnumerable<Tuple<byte[], IList<string>>> payloadsWithDependencies)

21.377.5.3.1. Parameters

payloadsWithDependencies IEnumerable<Tuple<byte[], IList<string>>>

21.377.5.3.2. Returns

IEnumerable<string>

21.377.5.4. WaitSubtasksCompletion(string)

public Task WaitSubtasksCompletion(string id)

21.377.5.4.1. Parameters

id string

21.377.5.4.2. Returns

Task