ED2KPacket::Search Class Reference

Search packet is used in client<->server communication to perform a search on one or more servers. More...

#include <packets.h>

Inheritance diagram for ED2KPacket::Search:

ED2KPacket::Packet List of all members.

Public Member Functions

 Search (SearchPtr data, uint8_t proto=PR_ED2K)
 operator std::string ()

Private Attributes

SearchPtr m_data
 Search query data.

Detailed Description

Search packet is used in client<->server communication to perform a search on one or more servers.

The search query is passed as SearchPtr to this object, and handled internally as appropriate.

Usage: Client -> Server

Definition at line 302 of file packets.h.


Constructor & Destructor Documentation

ED2KPacket::Search::Search SearchPtr  data,
uint8_t  proto = PR_ED2K
 

Definition at line 317 of file packets.cpp.


Member Function Documentation

ED2KPacket::Search::operator std::string  ) 
 

Definition at line 319 of file packets.cpp.

References m_data, ED2KPacket::Packet::makePacket(), and OP_SEARCH.


Member Data Documentation

SearchPtr ED2KPacket::Search::m_data [private]
 

Search query data.

Definition at line 307 of file packets.h.

Referenced by operator std::string().


The documentation for this class was generated from the following files: