C# Class MarsRover.PacketPartitionner

Mostrar archivo Open project: jpadillak/Concordia_Capstone2013-14 Class Usage Examples

Public Properties

Property Type Description
FileID int
FileSize int

Public Methods

Method Description
GetPartitionnedPackets ( ) : ArrayList

Return the Partitionned packets stored in the array list

PacketPartitionner ( int FileID, int FileSize, int PacketSizeWHeader, PacketPartitionnerCBType PacketPartitionnerCBHandler ) : System

Constructor of the PacketParitionner class, refers to a file id, file size, and packet size.

PartitionFile ( byte Data, int FileSize ) : void

Partition a file in packets and adds the packet to the arraylist.

Method Details

GetPartitionnedPackets() public method

Return the Partitionned packets stored in the array list
public GetPartitionnedPackets ( ) : ArrayList
return System.Collections.ArrayList

PacketPartitionner() public method

Constructor of the PacketParitionner class, refers to a file id, file size, and packet size.
public PacketPartitionner ( int FileID, int FileSize, int PacketSizeWHeader, PacketPartitionnerCBType PacketPartitionnerCBHandler ) : System
FileID int
FileSize int
PacketSizeWHeader int
PacketPartitionnerCBHandler PacketPartitionnerCBType
return System

PartitionFile() public method

Partition a file in packets and adds the packet to the arraylist.
public PartitionFile ( byte Data, int FileSize ) : void
Data byte
FileSize int
return void

Property Details

FileID public_oe property

public int FileID
return int

FileSize public_oe property

public int FileSize
return int