MainPacket Class Reference

#include mainpacket.h>

Inheritance diagram for MainPacket:

CriticalPacket

Public Member Functions

  MainPacket (void)
  ~MainPacket (void)
bool  Create (vector &sourcefiles, u64 _blocksize)
bool  Load (DiskFile *diskfile, u64 offset, PACKET_HEADER &header)
const MD5Hash SetId (void) const
u64  BlockSize (void) const
u32  RecoverableFileCount (void) const
u32  TotalFileCount (void) const
const MD5Hash FileId (u32 filenumber) const

Protected Attributes

u64  blocksize
u32  totalfilecount
u32  recoverablefilecount

Detailed Description

Definition at line 29 of file mainpacket.h.


Constructor & Destructor Documentation

MainPacket::MainPacket ( void   )  [inline]

Definition at line 33 of file mainpacket.h.

MainPacket::~MainPacket ( void   )  [inline]

Definition at line 34 of file mainpacket.h.


Member Function Documentation

bool MainPacket::Create ( vector &  sourcefiles,
u64  _blocksize  
)

bool MainPacket::Load ( DiskFile diskfile,
u64  offset,
PACKET_HEADER header  
)

const MD5Hash & MainPacket::SetId ( void   )  const [inline]

Definition at line 99 of file mainpacket.h.

u64 MainPacket::BlockSize ( void   )  const [inline]

Definition at line 66 of file mainpacket.h.

u32 MainPacket::RecoverableFileCount ( void   )  const [inline]

Definition at line 74 of file mainpacket.h.

u32 MainPacket::TotalFileCount ( void   )  const [inline]

Definition at line 82 of file mainpacket.h.

const MD5Hash & MainPacket::FileId ( u32  filenumber  )  const [inline]

Definition at line 90 of file mainpacket.h.


Field Documentation

u64 MainPacket::blocksize [protected]

Definition at line 60 of file mainpacket.h.

u32 MainPacket::totalfilecount [protected]

Definition at line 61 of file mainpacket.h.

u32 MainPacket::recoverablefilecount [protected]

Definition at line 62 of file mainpacket.h.


The documentation for this class was generated from the following file:
Generated on Tue Oct 14 01:40:44 2008 for NNTPGrab by  1.5.4