Chunk Class |
public class Chunk
The Chunk type exposes the following members.
| Name | Description | |
|---|---|---|
| Chunk | Initializes a new instance of the Chunk class | |
| Chunk(Int64, Int64) | Initializes a new instance of the Chunk class |
| Name | Description | |
|---|---|---|
| CanWrite | Can write more data on this chunk according to the chunk situations? | |
| EmptyLength | Unused length of current chunk. When the chunk length is zero, the file is open to receive new bytes until no more bytes are received from the server. | |
| End | End offset of the chunk in the file bytes | |
| FailoverCount | How many times has downloading the chunk failed? | |
| Id | Chunk unique identity name | |
| Length | Length of current chunk. When the chunk length is zero, the file is open to receive new bytes until no more bytes are received from the server. | |
| MaxTryAgainOnFailover | How many times to try again after the error | |
| Position | Current write offset of the chunk | |
| Start | Start offset of the chunk in the file bytes | |
| Timeout | How many milliseconds to wait for a response from the server? |
| Name | Description | |
|---|---|---|
| CanTryAgainOnFailover | ||
| Clear | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsDownloadCompleted | ||
| IsValidPosition | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |