22.190. Class ProcessReplyCreateLargeTaskStateMachine

Namespace: ArmoniK.Core.Common.StateMachines
Assembly: ArmoniK.Core.Common.dll

Utility class for the Final State Machine from

public class ProcessReplyCreateLargeTaskStateMachine

22.190.1. Inheritance

objectProcessReplyCreateLargeTaskStateMachine

22.190.2. Inherited Members

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

22.190.3. Constructors

22.190.3.1. ProcessReplyCreateLargeTaskStateMachine(ILogger)

Constructor that initializes the Final State Machine

public ProcessReplyCreateLargeTaskStateMachine(ILogger logger)

22.190.3.1.1. Parameters

logger ILogger

Logger used to produce logs for this class

22.190.4. Methods

22.190.4.1. AddDataChunk()

Function used when using transition

public void AddDataChunk()

22.190.4.1.1. Exceptions

InvalidOperationException

Invalid transition

22.190.4.2. AddHeader()

Function used when using transition

public void AddHeader()

22.190.4.2.1. Exceptions

InvalidOperationException

Invalid transition

22.190.4.3. CompleteData()

Function used when using transition

public void CompleteData()

22.190.4.3.1. Exceptions

InvalidOperationException

Invalid transition

22.190.4.4. CompleteRequest()

Function used when using transition

public void CompleteRequest()

22.190.4.4.1. Exceptions

InvalidOperationException

Invalid transition

22.190.4.5. GenerateGraph()

Generate a dot graph representing the Final State Machine

public string GenerateGraph()

22.190.4.5.1. Returns

string

A string containing the graph in dot format

22.190.4.6. GetState()

Get the current state of the Final State Machine

public ProcessReplyCreateLargeTaskStateMachine.State GetState()

22.190.4.6.1. Returns

ProcessReplyCreateLargeTaskStateMachine.State

The current state of the Final State Machine

22.190.4.7. InitRequest()

Function used when using transition

public void InitRequest()

22.190.4.7.1. Exceptions

InvalidOperationException

Invalid transition

22.190.4.8. IsComplete()

Check if the Final State Machine is in its completed state

public bool IsComplete()

22.190.4.8.1. Returns

bool

A bool representing if the final state machine is in a completed state