Protocols::BitTorrent::Packets Namespace Reference


Classes

class  AllowedFast
 Implements the packet AllowedFast. More...
class  BadPacket
 A packet class encapsulating the raw data of a packet that cannot be parsed. More...
class  BitField
 Implements the packet BitField. More...
class  Cancel
 Implements the packet Cancel. More...
class  Choke
 Implements the packet Choke. More...
class  Have
 Implements the packet Have. More...
class  HaveAll
 Implements the packet HaveAll. More...
class  HaveNone
 Implements the packet HaveNone. More...
class  Interested
 Implements the packet Interested. More...
class  Keepalive
 Implements the packet Keepalive. More...
class  NotInterested
 Implements the packet NotInterested. More...
class  PacketBase
 Base class of all BitTorrent packets. More...
class  PacketProtocol
 Implements the BitTorrent PacketProtocol. More...
class  Piece
 Implements the packet Piece. More...
class  Port
 Implements the packet Port. More...
class  RejectRequest
 Implements the packet RejectRequest. More...
class  Request
 Implements the packet Request. More...
class  SuggestPiece
 Implements the packet SuggestPiece. More...
class  Unchoke
 Implements the packet Unchoke. More...

Namespaces

namespace  Testing

Typedefs

typedef Protocols::Generics::Packet GenericsPacket
typedef Protocols::Generics::PacketBase GenericsPacketBase
typedef Protocols::Generics::PacketProtocol GenericsPacketProtocol
typedef AbstractValue< PacketBase,
BadPacket, DataBase
Packet
 BitTorrent PacketBase wrapper.

Enumerations

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


Typedef Documentation

typedef Protocols::Generics::Packet Protocols::BitTorrent::Packets::GenericsPacket
 

Definition at line 40 of file Imports.h.

typedef Protocols::Generics::PacketBase Protocols::BitTorrent::Packets::GenericsPacketBase
 

Definition at line 41 of file Imports.h.

typedef Protocols::Generics::PacketProtocol Protocols::BitTorrent::Packets::GenericsPacketProtocol
 

Definition at line 42 of file Imports.h.

typedef AbstractValue<PacketBase, BadPacket, DataBase> Protocols::BitTorrent::Packets::Packet
 

BitTorrent PacketBase wrapper.

Definition at line 34 of file Packet.h.


Enumeration Type Documentation

enum Protocols::BitTorrent::Packets::PacketType
 

Known BitTorrent PacketBase types.

Enumerator:
KeepalivePacket 
ChokePacket 
UnchokePacket 
InterestedPacket 
NotInterestedPacket 
HavePacket 
BitFieldPacket 
RequestPacket 
PiecePacket 
CancelPacket 
PortPacket 
SuggestPiecePacket 
HaveAllPacket 
HaveNonePacket 
RejectRequestPacket 
AllowedFastPacket 

Definition at line 34 of file PacketBase.h.