C# Class DistributedFileSystem.ChunkAvailabilityReply

Afficher le fichier Open project: MarcFletcher/NetworkComms.Net Class Usage Examples

Private Properties

Свойство Type Description
ChunkAvailabilityReply System

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
ChunkAvailabilityReply ( ) : System

Method Details

ChunkAvailabilityReply() public méthode

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
Résultat System

ChunkAvailabilityReply() public méthode

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
Résultat System

SetChunkData() public méthode

Set the data for this ChunkAvailabilityReply
public SetChunkData ( byte chunkData ) : void
chunkData byte The chunk data
Résultat void

SetSourceConnectionInfo() public méthode

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
Résultat void