IT++ Logo Newcom Logo

itpp::Packet Class Reference

Packet. More...

#include <itpp/protocol/packet.h>

Inheritance diagram for itpp::Packet:

itpp::ACK itpp::Link_Packet itpp::TCP_Packet List of all members.

Public Member Functions

 Packet (const int packet_size=0)
virtual ~Packet ()
void set_bit_size (int packet_size)
 set size of packet in bits
int bit_size ()
 get size of packet in bits

Detailed Description

Packet.

Definition at line 44 of file packet.h.


Member Function Documentation

void itpp::Packet::set_bit_size ( int  packet_size  )  [inline]

set size of packet in bits

Definition at line 52 of file packet.h.

References it_assert.

Referenced by Packet().

int itpp::Packet::bit_size (  )  [inline]

get size of packet in bits

Definition at line 55 of file packet.h.

Referenced by itpp::Front_Drop_Queue::pop(), itpp::Front_Drop_Queue::push(), and itpp::TCP_Server_Application::write_to_net().


The documentation for this class was generated from the following file:
SourceForge Logo

Generated on Fri Jun 8 01:07:26 2007 for IT++ by Doxygen 1.5.2