C# Класс DistributedFileSystem.ChunkAvailabilityReply

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ChunkAvailabilityReply System

Открытые методы

Метод Описание
ChunkAvailabilityReply ( ShortGuid sourceNetworkIdentifier, string itemCheckSum, byte chunkIndex, string packetIdentifier ) : System

Create an ChunkAvailabilityReply which will precede the requested data.

ChunkAvailabilityReply ( string sourceNetworkIdentifier, string itemCheckSum, byte chunkIndex, ChunkReplyState replyState ) : System

Create an ChunkAvailabilityReply which will not contain the requested data.

SetChunkData ( byte chunkData ) : void

Set the data for this ChunkAvailabilityReply

SetSourceConnectionInfo ( ConnectionInfo info ) : void

Set the connectionInfo associated with the source of this ChunkAvailabilityReply

Приватные методы

Метод Описание
ChunkAvailabilityReply ( ) : System

Описание методов

ChunkAvailabilityReply() публичный Метод

Create an ChunkAvailabilityReply which will precede the requested data.
public ChunkAvailabilityReply ( ShortGuid sourceNetworkIdentifier, string itemCheckSum, byte chunkIndex, string packetIdentifier ) : System
sourceNetworkIdentifier NetworkCommsDotNet.Tools.ShortGuid The network identifier of the source of this ChunkAvailabilityReply
itemCheckSum string The checksum of the DFS item
chunkIndex byte The chunkIndex of the requested item
packetIdentifier string The packet identifier used to send the data
Результат System

ChunkAvailabilityReply() публичный Метод

Create an ChunkAvailabilityReply which will not contain the requested data.
public ChunkAvailabilityReply ( string sourceNetworkIdentifier, string itemCheckSum, byte chunkIndex, ChunkReplyState replyState ) : System
sourceNetworkIdentifier string The network identifier of the source of this ChunkAvailabilityReply
itemCheckSum string The checksum of the DFS item
chunkIndex byte The chunkIndex of the requested item
replyState ChunkReplyState A suitable reply state
Результат System

SetChunkData() публичный Метод

Set the data for this ChunkAvailabilityReply
public SetChunkData ( byte chunkData ) : void
chunkData byte The chunk data
Результат void

SetSourceConnectionInfo() публичный Метод

Set the connectionInfo associated with the source of this ChunkAvailabilityReply
public SetSourceConnectionInfo ( ConnectionInfo info ) : void
info ConnectionInfo The ConnectionInfo associated with the source of this ChunkAvailabilityReply
Результат void