Class UploadFileTransferInformation
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Catalyst.Core.Lib.FileTransfer
Assembly: Catalyst.Core.Lib.dll
Syntax
public sealed class UploadFileTransferInformation : BaseFileTransferInformation, IUploadFileInformation, IFileTransferInformation, IDisposable
Constructors
| Improve this Doc View SourceUploadFileTransferInformation(Stream, PeerId, PeerId, IChannel, ICorrelationId)
Initializes a new instance of the Upload
Declaration
public UploadFileTransferInformation(Stream stream, PeerId peerId, PeerId recipientId, IChannel recipientChannel, ICorrelationId correlationGuid)
Parameters
Type | Name | Description |
---|---|---|
System. |
stream | The stream. |
Peer |
peerId | The peer identifier. |
Peer |
recipientId | The recipient identifier. |
IChannel | recipientChannel | The recipient channel. |
ICorrelation |
correlationGuid | The correlation unique identifier. |
Properties
| Improve this Doc View SourceRetryCount
Declaration
public int RetryCount { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceCanRetry()
Declaration
public bool CanRetry()
Returns
Type | Description |
---|---|
System. |
GetUploadMessageDto(UInt32)
Declaration
public IMessageDto<ProtocolMessage> GetUploadMessageDto(uint index)
Parameters
Type | Name | Description |
---|---|---|
System. |
index |
Returns
Type | Description |
---|---|
IMessage |
Implements
System.IDisposable