Gnutella::PacketProcessing::PacketProcessor Class Reference
#include <PacketProcessor.h> [code]
Inherits QObject.
Inheritance diagram for Gnutella::PacketProcessing::PacketProcessor:
[legend]Collaboration diagram for Gnutella::PacketProcessing::PacketProcessor:
[legend]List of all members.
Detailed Description
- Todo:
- Maybe hide the packet routing policies inside the PacketProcessor? Do not implement it as a filter that is explicetly added. Instead, use the PacketRouter internally accrding to the basic Gnutella routing rules.
Definition at line 60 of file PacketProcessor.h.
Member Typedef Documentation
Constructor & Destructor Documentation
| Gnutella::PacketProcessing::PacketProcessor::PacketProcessor |
( |
const PacketProcessor & |
|
) |
[private] |
|
| PacketProcessor::PacketProcessor |
( |
LocalPeer * |
|
) |
|
|
| PacketProcessor::~PacketProcessor |
( |
|
) |
|
|
Member Function Documentation
|
|
- Todo:
- Can't we directly connect the Handshaker with the PacketProcessor? This would mean connect handshakeCompleted with addConnection. Similarly, connect PacketSession::connectionClosed to removeConnection (rename PacketProcessor::connectionClosed)
Definition at line 120 of file PacketProcessor.cpp. |
| void PacketProcessor::notifyHandlers |
( |
Packet & |
packet |
) |
[private] |
|
| void Gnutella::PacketProcessing::PacketProcessor::processQueryStatusRequest |
( |
const QueryStatusRequest & |
|
) |
[signal] |
|
| void Gnutella::PacketProcessing::PacketProcessor::receivedPing |
( |
const Ping & |
|
) |
[signal] |
|
| void Gnutella::PacketProcessing::PacketProcessor::receivedPong |
( |
const Pong & |
|
) |
[signal] |
|
| void Gnutella::PacketProcessing::PacketProcessor::receivedPush |
( |
const Push & |
|
) |
[signal] |
|
| void Gnutella::PacketProcessing::PacketProcessor::receivedQuery |
( |
const Query & |
|
) |
[signal] |
|
| void Gnutella::PacketProcessing::PacketProcessor::receivedQueryHits |
( |
const QueryHits & |
|
) |
[signal] |
|
| void PacketProcessor::routePacket |
( |
const Packet & |
packet |
) |
[private] |
|
| void PacketProcessor::sendPacket |
( |
const Packet & |
|
) |
[slot] |
|
| void PacketProcessor::sessionClosed |
( |
PacketSession * |
|
) |
[private, slot] |
|
Member Data Documentation
The documentation for this class was generated from the following files: