C# 클래스 Rover.PacketReconstructor

파일 보기 프로젝트 열기: jpadillak/Concordia_Capstone2013-14 1 사용 예제들

공개 메소드들

메소드 설명
GetReconstructedPackets ( ) : ArrayList

Return all the packets received

PacketReconstructor ( int PacketSize, PacketReconstructedCBType aPacketReconstructedCBHandler ) : System

Constructor of the packetReconstructor class, remember the packet size, and a callback function.

ReconstructFile ( Packet newPacket ) : void

Reconstruct a file packet by packet, when the last packet is receive the file is created.

메소드 상세

GetReconstructedPackets() 공개 메소드

Return all the packets received
public GetReconstructedPackets ( ) : ArrayList
리턴 System.Collections.ArrayList

PacketReconstructor() 공개 메소드

Constructor of the packetReconstructor class, remember the packet size, and a callback function.
public PacketReconstructor ( int PacketSize, PacketReconstructedCBType aPacketReconstructedCBHandler ) : System
PacketSize int
aPacketReconstructedCBHandler PacketReconstructedCBType
리턴 System

ReconstructFile() 공개 메소드

Reconstruct a file packet by packet, when the last packet is receive the file is created.
public ReconstructFile ( Packet newPacket ) : void
newPacket Packet
리턴 void