Class Payload
Inheritance
System.Object
Payload
Implements
System.IDisposable
Assembly: Monai.Deploy.InformaticsGateway.Api.dll
public class Payload : IDisposable
Constructors
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
public Payload(string key, string correlationId, string workflowInstanceId, string taskId, DataOrigin dataTrigger, uint timeout)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
correlationId |
|
System.String |
workflowInstanceId |
|
System.String |
taskId |
|
Monai.Deploy.Messaging.Events.DataOrigin |
dataTrigger |
|
System.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
Type |
Name |
Description |
System.String |
key |
|
System.String |
correlationId |
|
System.String |
workflowInstanceId |
|
System.String |
taskId |
|
Monai.Deploy.Messaging.Events.DataOrigin |
dataTrigger |
|
System.UInt32 |
timeout |
|
System.String |
payloadId |
|
Fields
|
Improve this Doc
View Source
Declaration
public const int MAX_RETRY = 3
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
Declaration
public string CorrelationId { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public HashSet<DataOrigin> DataOrigins { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.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
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
Declaration
public TimeSpan Elapsed { get; }
Property Value
Type |
Description |
System.TimeSpan |
|
|
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
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public int FilesUploaded { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public bool HasTimedOut { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public string Key { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public string MachineName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public Guid PayloadId { get; }
Property Value
Type |
Description |
System.Guid |
|
|
Improve this Doc
View Source
Declaration
public int RetryCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
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
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public uint Timeout { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
Declaration
public string WorkflowInstanceId { get; set; }
Property Value
Type |
Description |
System.String |
|
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 |
System.Boolean |
disposing |
|
|
Improve this Doc
View Source
Declaration
public TimeSpan ElapsedTime()
Returns
Type |
Description |
System.TimeSpan |
|
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Implements
System.IDisposable