PacketBase.h File Reference

#include "Imports.h" [code]

Include dependency graph for PacketBase.h:

Go to the source code of this file.

Namespaces

namespace  Protocols
namespace  Protocols::BitTorrent
namespace  Protocols::BitTorrent::Packets

Classes

class  Protocols::BitTorrent::Packets::PacketBase
 Base class of all BitTorrent packets. More...
class  Protocols::BitTorrent::Packets::PacketBase::Data

Enumerations

enum  Protocols::BitTorrent::Packets::PacketType {
  Protocols::BitTorrent::Packets::KeepalivePacket = 0xFF,
  Protocols::BitTorrent::Packets::ChokePacket = 0x00,
  Protocols::BitTorrent::Packets::UnchokePacket = 0x01,
  Protocols::BitTorrent::Packets::InterestedPacket = 0x02,
  Protocols::BitTorrent::Packets::NotInterestedPacket = 0x03,
  Protocols::BitTorrent::Packets::HavePacket = 0x04,
  Protocols::BitTorrent::Packets::BitFieldPacket = 0x05,
  Protocols::BitTorrent::Packets::RequestPacket = 0x06,
  Protocols::BitTorrent::Packets::PiecePacket = 0x07,
  Protocols::BitTorrent::Packets::CancelPacket = 0x08,
  Protocols::BitTorrent::Packets::PortPacket = 0x09,
  Protocols::BitTorrent::Packets::SuggestPiecePacket = 0x0D,
  Protocols::BitTorrent::Packets::HaveAllPacket = 0x0E,
  Protocols::BitTorrent::Packets::HaveNonePacket = 0x0F,
  Protocols::BitTorrent::Packets::RejectRequestPacket = 0x10,
  Protocols::BitTorrent::Packets::AllowedFastPacket = 0x11
}
 Known BitTorrent PacketBase types. More...