Class Payload
Assembly: Monai.Deploy.InformaticsGateway.Api.dll
public class Payload : IDisposable
Constructors
|
Improve this Doc
View Source
Declaration
public Payload(string key, string correlationId, string workflowInstanceId, string taskId, DataOrigin dataTrigger, uint timeout)
Parameters
Type |
Name |
Description |
String |
key |
|
String |
correlationId |
|
String |
workflowInstanceId |
|
String |
taskId |
|
Monai.Deploy.Messaging.Events.DataOrigin |
dataTrigger |
|
UInt32 |
timeout |
|
|
Improve this Doc
View Source
Declaration
public Payload(string key, string correlationId, string workflowInstanceId, string taskId, DataOrigin dataTrigger, uint timeout, string payloadId)
Parameters
Fields
|
Improve this Doc
View Source
Declaration
public const int MAX_RETRY = 3
Field Value
Properties
|
Improve this Doc
View Source
Declaration
public string CorrelationId { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public int Count { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public HashSet<DataOrigin> DataOrigins { get; set; }
Property Value
Type |
Description |
HashSet<Monai.Deploy.Messaging.Events.DataOrigin> |
|
|
Improve this Doc
View Source
Declaration
public DataOrigin DataTrigger { get; set; }
Property Value
Type |
Description |
Monai.Deploy.Messaging.Events.DataOrigin |
|
|
Improve this Doc
View Source
Declaration
public DateTime DateTimeCreated { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public TimeSpan Elapsed { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public List<FileStorageMetadata> Files { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public int FilesFailedToUpload { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public int FilesUploaded { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public bool HasTimedOut { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public string Key { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public string MachineName { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public Guid PayloadId { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public int RetryCount { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public Payload.PayloadState State { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public string TaskId { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public uint Timeout { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public string WorkflowInstanceId { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public void Add(FileStorageMetadata value)
Parameters
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
Boolean |
disposing |
|
|
Improve this Doc
View Source
Declaration
public TimeSpan ElapsedTime()
Returns
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
public override string ToString()
Returns
Overrides
Implements