C# Class Rover.Packet

Exibir arquivo Open project: jpadillak/Concordia_Capstone2013-14 Class Usage Examples

Public Properties

Property Type Description
aFrame Frame

Public Methods

Method Description
GetBytes ( ) : byte[]
GetHeaderSize ( ) : int
Packet ( ) : System
Packet ( byte packet ) : System
Packet ( int FileID, int FileSize, int PacketNumber, int TotalNbPackets, int DataUsed, byte Data ) : System

Create a packet object, with related file id, and file size.

PrintInfo ( ) : void

Method Details

GetBytes() public method

public GetBytes ( ) : byte[]
return byte[]

GetHeaderSize() public static method

public static GetHeaderSize ( ) : int
return int

Packet() public method

public Packet ( ) : System
return System

Packet() public method

public Packet ( byte packet ) : System
packet byte
return System

Packet() public method

Create a packet object, with related file id, and file size.
public Packet ( int FileID, int FileSize, int PacketNumber, int TotalNbPackets, int DataUsed, byte Data ) : System
FileID int
FileSize int
PacketNumber int
TotalNbPackets int
DataUsed int
Data byte
return System

PrintInfo() public method

public PrintInfo ( ) : void
return void

Property Details

aFrame public_oe property

public Frame,Rover aFrame
return Frame