Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

BTPacket.h File Reference

#include "Packet.h"

Go to the source code of this file.

Defines

#define AFX_BTPACKET_H__F3CA41D9_F0E8_4996_A551_F7EEE8D509B3__INCLUDED_
#define BT_PACKET_CHOKE   0
#define BT_PACKET_UNCHOKE   1
#define BT_PACKET_INTERESTED   2
#define BT_PACKET_NOT_INTERESTED   3
#define BT_PACKET_HAVE   4
#define BT_PACKET_BITFIELD   5
#define BT_PACKET_REQUEST   6
#define BT_PACKET_PIECE   7
#define BT_PACKET_CANCEL   8
#define BT_PACKET_HANDSHAKE   128
#define BT_PACKET_SOURCE_REQUEST   129
#define BT_PACKET_SOURCE_RESPONSE   130
#define BT_PACKET_KEEPALIVE   255


Define Documentation

#define AFX_BTPACKET_H__F3CA41D9_F0E8_4996_A551_F7EEE8D509B3__INCLUDED_
 

Definition at line 23 of file BTPacket.h.

#define BT_PACKET_BITFIELD   5
 

Definition at line 101 of file BTPacket.h.

Referenced by CDownloadWithTorrent::CreateBitfieldPacket(), and CBTClient::OnPacket().

#define BT_PACKET_CANCEL   8
 

Definition at line 104 of file BTPacket.h.

Referenced by CDownloadTransferBT::OnChoked(), CBTClient::OnPacket(), and CDownloadTransferBT::UnrequestRange().

#define BT_PACKET_CHOKE   0
 

Definition at line 96 of file BTPacket.h.

Referenced by CBTClient::OnPacket(), and CUploadTransferBT::SetChoke().

#define BT_PACKET_HANDSHAKE   128
 

Definition at line 106 of file BTPacket.h.

Referenced by CBTClient::OnPacket(), and CBTClient::SendBeHandshake().

#define BT_PACKET_HAVE   4
 

Definition at line 100 of file BTPacket.h.

Referenced by CBTClient::OnPacket(), and CDownloadTransferBT::SendFinishedBlock().

#define BT_PACKET_INTERESTED   2
 

Definition at line 98 of file BTPacket.h.

Referenced by CBTClient::OnPacket(), and CDownloadTransferBT::ShowInterest().

#define BT_PACKET_KEEPALIVE   255
 

Definition at line 110 of file BTPacket.h.

Referenced by CBTClient::OnPacket(), CBTPacket::ReadBuffer(), and CBTPacket::ToBuffer().

#define BT_PACKET_NOT_INTERESTED   3
 

Definition at line 99 of file BTPacket.h.

Referenced by CDownloadTransferBT::Close(), CBTClient::OnPacket(), and CDownloadTransferBT::ShowInterest().

#define BT_PACKET_PIECE   7
 

Definition at line 103 of file BTPacket.h.

Referenced by CBTClient::OnPacket(), and CUploadTransferBT::ServeRequests().

#define BT_PACKET_REQUEST   6
 

Definition at line 102 of file BTPacket.h.

Referenced by CBTClient::OnPacket(), and CDownloadTransferBT::SendRequests().

#define BT_PACKET_SOURCE_REQUEST   129
 

Definition at line 107 of file BTPacket.h.

Referenced by CBTClient::OnBeHandshake(), CBTClient::OnPacket(), and CDownloadTransferBT::OnRun().

#define BT_PACKET_SOURCE_RESPONSE   130
 

Definition at line 108 of file BTPacket.h.

Referenced by CBTClient::OnPacket(), and CBTClient::OnSourceRequest().

#define BT_PACKET_UNCHOKE   1
 

Definition at line 97 of file BTPacket.h.

Referenced by CBTClient::OnPacket(), and CUploadTransferBT::SetChoke().


Generated on Thu Dec 15 10:39:55 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2