Interface IFileTransferInformation
The File transfer interface
Inherited Members
Namespace: Catalyst.Abstractions.FileTransfer
Assembly: Catalyst.Abstractions.dll
Syntax
public interface IFileTransferInformation : IDisposable
Properties
| Improve this Doc View SourceCancellationToken
The cancellation token
Declaration
CancellationToken CancellationToken { get; set; }
Property Value
Type | Description |
---|---|
System.Threading.CancellationToken |
CorrelationId
Gets or sets the name of the unique file.
Declaration
ICorrelationId CorrelationId { get; set; }
Property Value
Type | Description |
---|---|
ICorrelationId | The name of the unique file. |
DfsHash
Gets or sets the DFS hash.
Declaration
string DfsHash { get; set; }
Property Value
Type | Description |
---|---|
System.String | The DFS hash. |
FileOutputPath
Gets or sets the file output path.
Declaration
string FileOutputPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The file output path. |
Initialised
Gets or sets a value indicating whether this IFileTransferInformation is initialised.
Declaration
bool Initialised { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsCompleted
Gets or sets a value indicating whether this instance is completed.
Declaration
bool IsCompleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
MaxChunk
Gets the maximum chunk.
Declaration
uint MaxChunk { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | The maximum chunk. |
PeerId
Gets or sets the peer identifier.
Declaration
PeerId PeerId { get; set; }
Property Value
Type | Description |
---|---|
PeerId | The peer identifier. |
RecipientChannel
Gets or sets the recipient channel.
Declaration
IChannel RecipientChannel { get; set; }
Property Value
Type | Description |
---|---|
IChannel | The recipient channel. |
RecipientId
Gets or sets the recipient identifier.
Declaration
PeerId RecipientId { get; set; }
Property Value
Type | Description |
---|---|
PeerId | The recipient identifier. |
TempPath
Gets the temporary path.
Declaration
string TempPath { get; }
Property Value
Type | Description |
---|---|
System.String | The temporary path. |
Methods
| Improve this Doc View SourceChunkIndicatorsTrue()
Chunks the indicators true.
Declaration
bool ChunkIndicatorsTrue()
Returns
Type | Description |
---|---|
System.Boolean |
CleanUp()
Cleans up.
Declaration
void CleanUp()
Delete()
Deletes the file.
Declaration
void Delete()
Expire()
Expires this instance.
Declaration
void Expire()
GetPercentage()
Gets the percentage.
Declaration
int GetPercentage()
Returns
Type | Description |
---|---|
System.Int32 |
IsExpired()
Determines whether this instance is expired.
Declaration
bool IsExpired()
Returns
Type | Description |
---|---|
System.Boolean |
|
UpdateChunkIndicator(UInt32, Boolean)
Updates the chunk indicator.
Declaration
void UpdateChunkIndicator(uint chunkId, bool state)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | chunkId | The chunk identifier. |
System.Boolean | state | if set to |