C# 클래스 DistributedFileSystem.ChunkAvailabilityReply

파일 보기 프로젝트 열기: MarcFletcher/NetworkComms.Net 1 사용 예제들

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